Fixed incorrectly issuing STALL response to unsupported control request SETUP packets, rather than in the data/status stage.

pull/1469/head
Dean Camera 12 years ago
parent 5937a134ab
commit 22b04429e6

@ -29,6 +29,7 @@
*
* <b>Fixed:</b>
* - Core:
* - Fixed incorrectly issuing STALL response to unsupported control request SETUP packets, rather than in the data/status stage
* - Fixed inverted LEDs_GetLEDs() function implementation for the Benito, Minimus and Arduino UNO boards
* - Fixed missing Win-32bit compatibility sections in the LUFA INF driver files (thanks to Christan Beharrell)
* - Fixed logic hole breaking USB operations on a USB controller with only one supported USB mode and no USB_DEVICE_ONLY or USB_HOST_ONLY

@ -185,6 +185,7 @@
* \li Elektor Magazine, "USB is Cool/Sucks" by Jerry Jacobs and Chris Vossen (minor mention), January 2010 Issue
* \li Elektor Magazine, "20 x Open Source" by Jens Nickel, March 2010 Issue
* \li Circuit Cellar Magazine, "Advanced USB Design Debugging" by Collin O'Flynn, August 2010 Issue
* \li Elektor Magazine, "Taming the Beast (2)" by Clemens Valens/Raymond Vermeulen, January 2013 Issue
*
* \section Sec_LUFANotableMentions Other Notable Mentions of LUFA
* The following are non-magazine but notable mentions of the LUFA library.

@ -117,8 +117,8 @@ void USB_Device_ProcessControlRequest(void)
if (Endpoint_IsSETUPReceived())
{
Endpoint_StallTransaction();
Endpoint_ClearSETUP();
Endpoint_StallTransaction();
}
}

Loading…
Cancel
Save