mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-17 22:50:28 +02:00
Fixed incorrect/missing control status stage transfers on demos, bootloaders and applications (thanks to Nate Lawson).
This commit is contained in:
@@ -213,10 +213,8 @@ EVENT_HANDLER(USB_UnhandledControlPacket)
|
||||
/* Clear the endpoint data */
|
||||
Endpoint_ClearSetupOUT();
|
||||
|
||||
/* Wait until the host is ready to receive the request confirmation */
|
||||
/* Acknowledge status stage */
|
||||
while (!(Endpoint_IsSetupINReady()));
|
||||
|
||||
/* Handshake the request by sending an empty IN packet */
|
||||
Endpoint_ClearSetupIN();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user