diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-08-24 09:50:21 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-08-24 09:50:21 +0000 |
commit | a233109909f0e8d3cf578733f088a20474b3c43f (patch) | |
tree | 7e7c3fbfacec8914e164c1ac46a46a8fd59ba748 /LUFA/Drivers/USB/Core/HostStandardReq.h | |
parent | cff190b8f47416698f3783e1e7711f0864713f73 (diff) | |
download | lufa-a233109909f0e8d3cf578733f088a20474b3c43f.tar.gz lufa-a233109909f0e8d3cf578733f088a20474b3c43f.tar.bz2 lufa-a233109909f0e8d3cf578733f088a20474b3c43f.zip |
Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the function works on an endpoint address within the attached device, and not a Pipe within the host.
Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons).
Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage.
Minor documentation corrections.
Diffstat (limited to 'LUFA/Drivers/USB/Core/HostStandardReq.h')
-rw-r--r-- | LUFA/Drivers/USB/Core/HostStandardReq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Core/HostStandardReq.h b/LUFA/Drivers/USB/Core/HostStandardReq.h index 7ef439d84..ba8d7be4e 100644 --- a/LUFA/Drivers/USB/Core/HostStandardReq.h +++ b/LUFA/Drivers/USB/Core/HostStandardReq.h @@ -177,7 +177,7 @@ * * \return A value from the \ref USB_Host_SendControlErrorCodes_t enum to indicate the result. */ - uint8_t USB_Host_ClearPipeStall(const uint8_t EndpointAddress); + uint8_t USB_Host_ClearEndpointStall(const uint8_t EndpointAddress); /** Selects a given alternative setting for the specified interface, via a SET INTERFACE standard request to * the attached device. |