aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/USB/Core/HostStandardReq.c
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-08-24 09:50:21 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-08-24 09:50:21 +0000
commit11732706c2c623ef90fc1c1bc5c9951707d09825 (patch)
tree7e7c3fbfacec8914e164c1ac46a46a8fd59ba748 /LUFA/Drivers/USB/Core/HostStandardReq.c
parentbb56a60f7a158382de0c1db4da55a12393b417a3 (diff)
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1914 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/Drivers/USB/Core/HostStandardReq.c')
-rw-r--r--LUFA/Drivers/USB/Core/HostStandardReq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Core/HostStandardReq.c b/LUFA/Drivers/USB/Core/HostStandardReq.c
index 3da22208..5bbe5d3f 100644
--- a/LUFA/Drivers/USB/Core/HostStandardReq.c
+++ b/LUFA/Drivers/USB/Core/HostStandardReq.c
@@ -254,7 +254,7 @@ uint8_t USB_Host_GetDeviceStatus(uint8_t* const FeatureStatus)
return USB_Host_SendControlRequest(FeatureStatus);
}
-uint8_t USB_Host_ClearPipeStall(const uint8_t EndpointAddress)
+uint8_t USB_Host_ClearEndpointStall(const uint8_t EndpointAddress)
{
USB_ControlRequest = (USB_Request_Header_t)
{