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:
parent
ac593611c9
commit
c5eeedd522
6 changed files with 5 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue