Fixed incorrect/missing control status stage transfers on demos, bootloaders and...
[pub/USBasp.git] / Demos / KeyboardMouse / KeyboardMouse.c
index 8108a30..3ee101b 100644 (file)
@@ -213,10 +213,8 @@ EVENT_HANDLER(USB_UnhandledControlPacket)
                                /* Clear the endpoint data */\r
                                Endpoint_ClearSetupOUT();\r
 \r
-                               /* Wait until the host is ready to receive the request confirmation */\r
+                               /* Acknowledge status stage */\r
                                while (!(Endpoint_IsSetupINReady()));\r
-                               \r
-                               /* Handshake the request by sending an empty IN packet */\r
                                Endpoint_ClearSetupIN();\r
                        }\r
                        \r