projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed specialized Endpoint_ClearControl* and Pipe_ClearControl* macros in favour...
[pub/USBasp.git]
/
Demos
/
Device
/
AudioOutput
/
AudioOutput.c
diff --git
a/Demos/Device/AudioOutput/AudioOutput.c
b/Demos/Device/AudioOutput/AudioOutput.c
index
aae0168
..
ba9a499
100644
(file)
--- a/
Demos/Device/AudioOutput/AudioOutput.c
+++ b/
Demos/Device/AudioOutput/AudioOutput.c
@@
-166,7
+166,7
@@
EVENT_HANDLER(USB_UnhandledControlPacket)
{
\r
uint16_t wValue = Endpoint_Read_Word_LE();
\r
\r
{
\r
uint16_t wValue = Endpoint_Read_Word_LE();
\r
\r
- Endpoint_Clear
Control
SETUP();
\r
+ Endpoint_ClearSETUP();
\r
\r
/* Check if the host is enabling the audio interface (setting AlternateSetting to 1) */
\r
if (wValue)
\r
\r
/* Check if the host is enabling the audio interface (setting AlternateSetting to 1) */
\r
if (wValue)
\r
@@
-182,7
+182,7
@@
EVENT_HANDLER(USB_UnhandledControlPacket)
\r
/* Acknowledge status stage */
\r
while (!(Endpoint_IsINReady()));
\r
\r
/* Acknowledge status stage */
\r
while (!(Endpoint_IsINReady()));
\r
- Endpoint_Clear
Control
IN();
\r
+ Endpoint_ClearIN();
\r
}
\r
\r
break;
\r
}
\r
\r
break;
\r