diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-09-21 10:48:38 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-09-21 10:48:38 +0000 |
commit | 5faa79a7b55312f275435c5dacf8a89a6a3d26ae (patch) | |
tree | 122d7cb2659c536d03163f92bc2ad67b03da9c62 /LUFA/Drivers/USB/LowLevel/Host.c | |
parent | ed7067e89f4adc1c5b9317caa0253d866ad2bf56 (diff) | |
download | lufa-5faa79a7b55312f275435c5dacf8a89a6a3d26ae.tar.gz lufa-5faa79a7b55312f275435c5dacf8a89a6a3d26ae.tar.bz2 lufa-5faa79a7b55312f275435c5dacf8a89a6a3d26ae.zip |
Fixed USB_Host_ClearPipeStall() incorrectly attempting to determine the endpoint's direction from the currently selected pipe.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Host.c')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Host.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Host.c b/LUFA/Drivers/USB/LowLevel/Host.c index 6c66083a8..1d7faa197 100644 --- a/LUFA/Drivers/USB/LowLevel/Host.c +++ b/LUFA/Drivers/USB/LowLevel/Host.c @@ -338,9 +338,6 @@ uint8_t USB_Host_GetDeviceStringDescriptor(const uint8_t Index, uint8_t USB_Host_ClearPipeStall(uint8_t EndpointNum) { - if (Pipe_GetPipeToken() == PIPE_TOKEN_IN) - EndpointNum |= ENDPOINT_DESCRIPTOR_DIR_IN; - USB_ControlRequest = (USB_Request_Header_t) { .bmRequestType = (REQDIR_HOSTTODEVICE | REQTYPE_STANDARD | REQREC_ENDPOINT), |