Fixed GenericHIDHost demo report write routine incorrect for control type requests...
[pub/USBasp.git] / LUFA / Drivers / USB / HighLevel / USBTask.c
index e62ac68..80731ac 100644 (file)
@@ -64,7 +64,7 @@ static void USB_DeviceTask(void)
        \r
                Endpoint_SelectEndpoint(ENDPOINT_CONTROLEP);\r
 \r
-               if (Endpoint_IsSetupReceived())\r
+               if (Endpoint_IsSETUPReceived())\r
                {\r
                        ATOMIC_BLOCK(ATOMIC_RESTORESTATE)\r
                        {\r