Removed interrupt disable/enable from the Device mode control request processing...
[pub/USBasp.git] / LUFA / Drivers / USB / HighLevel / USBTask.c
index 5c70457..c02a38b 100644 (file)
@@ -68,12 +68,7 @@ static void USB_DeviceTask(void)
                Endpoint_SelectEndpoint(ENDPOINT_CONTROLEP);\r
 \r
                if (Endpoint_IsSETUPReceived())\r
-               {\r
-                       ATOMIC_BLOCK(ATOMIC_RESTORESTATE)\r
-                       {\r
-                               USB_Device_ProcessControlPacket();\r
-                       }\r
-               }\r
+                 USB_Device_ProcessControlPacket();\r
                \r
                Endpoint_SelectEndpoint(PrevEndpoint);\r
        }\r