projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed incorrect/missing control status stage transfers on demos, bootloaders and...
[pub/USBasp.git]
/
Demos
/
KeyboardMouse
/
KeyboardMouse.c
diff --git
a/Demos/KeyboardMouse/KeyboardMouse.c
b/Demos/KeyboardMouse/KeyboardMouse.c
index
8108a30
..
3ee101b
100644
(file)
--- a/
Demos/KeyboardMouse/KeyboardMouse.c
+++ b/
Demos/KeyboardMouse/KeyboardMouse.c
@@
-213,10
+213,8
@@
EVENT_HANDLER(USB_UnhandledControlPacket)
/* Clear the endpoint data */
\r
Endpoint_ClearSetupOUT();
\r
\r
/* 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
while (!(Endpoint_IsSetupINReady()));
\r
-
\r
- /* Handshake the request by sending an empty IN packet */
\r
Endpoint_ClearSetupIN();
\r
}
\r
\r
Endpoint_ClearSetupIN();
\r
}
\r
\r