Removed interrupt disable/enable from the Device mode control request processing routines, as they can cause problems with user code and can cause infinite spinlocks under some circumstances.

Added new LUFA logo from EDIGMA.COM.
This commit is contained in:
Dean Camera 2009-08-02 11:33:00 +00:00
parent ac593611c9
commit c5eeedd522
6 changed files with 5 additions and 10 deletions

View file

@ -68,12 +68,7 @@ static void USB_DeviceTask(void)
Endpoint_SelectEndpoint(ENDPOINT_CONTROLEP);
if (Endpoint_IsSETUPReceived())
{
ATOMIC_BLOCK(ATOMIC_RESTORESTATE)
{
USB_Device_ProcessControlPacket();
}
}
USB_Device_ProcessControlPacket();
Endpoint_SelectEndpoint(PrevEndpoint);
}