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
/
AudioOutput
/
AudioOutput.c
diff --git
a/Demos/AudioOutput/AudioOutput.c
b/Demos/AudioOutput/AudioOutput.c
index
3d2e324
..
87afd36
100644
(file)
--- a/
Demos/AudioOutput/AudioOutput.c
+++ b/
Demos/AudioOutput/AudioOutput.c
@@
-193,7
+193,8
@@
EVENT_HANDLER(USB_UnhandledControlPacket)
Scheduler_SetTaskMode(USB_Audio_Task, TASK_STOP);
\r
}
\r
\r
Scheduler_SetTaskMode(USB_Audio_Task, TASK_STOP);
\r
}
\r
\r
- /* Handshake the request */
\r
+ /* Acknowledge status stage */
\r
+ while (!(Endpoint_IsSetupINReady()));
\r
Endpoint_ClearSetupIN();
\r
}
\r
\r
Endpoint_ClearSetupIN();
\r
}
\r
\r
@@
-249,7
+250,7
@@
TASK(USB_Audio_Task)
/* Check to see if the bank is now empty */
\r
if (!(Endpoint_ReadWriteAllowed()))
\r
{
\r
/* Check to see if the bank is now empty */
\r
if (!(Endpoint_ReadWriteAllowed()))
\r
{
\r
- /* Acknowedge the packet, clear the bank ready for the next packet */
\r
+ /* Acknow
l
edge the packet, clear the bank ready for the next packet */
\r
Endpoint_ClearCurrentBank();
\r
}
\r
\r
Endpoint_ClearCurrentBank();
\r
}
\r
\r