Speed up bit-banged USART code in the AVRISP project.
[pub/USBasp.git] / LUFA / Drivers / USB / HighLevel / USBTask.c
index 5c70457..f1277b9 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_ProcessControlRequest();\r
                \r
                Endpoint_SelectEndpoint(PrevEndpoint);\r
        }\r