The USB_Host_SendControlRequest() function no longer automatically selects the Control pipe (pipe 0), so that other control type pipes can be used with the function.
The USB Host management task now saves and restores the currently selected pipe before and after the task completes.
This commit is contained in:
@@ -95,7 +95,7 @@
|
||||
/* Function Prototypes: */
|
||||
/** Sends the request stored in the USB_HostRequest global structure to the attached device,
|
||||
* and transfers the data stored in the buffer to the device, or from the device to the buffer
|
||||
* as requested.
|
||||
* as requested. The transfer is made on the currently selected pipe.
|
||||
*
|
||||
* \param BufferPtr Pointer to the start of the data buffer if the request has a data stage, or
|
||||
* NULL if the request transfers no data to or from the device.
|
||||
|
||||
Reference in New Issue
Block a user