aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/AudioInput
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-04-21 06:05:50 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-04-21 06:05:50 +0000
commit1c86a3300662e13904f32c985172e66e33e3d777 (patch)
tree5172668936967b507e6804daeb2cb7009232a8e3 /Demos/Device/AudioInput
parenta1fc09eb4057821fa5984eaf482484f348d6bae3 (diff)
Removed specialized Endpoint_ClearControl* and Pipe_ClearControl* macros in favour of the standard Endpoint_Clear* and Pipe_Clear* macros (Atmel have confirmed no effect from setting FIFOCON on control endpoints).
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@519 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/AudioInput')
-rw-r--r--Demos/Device/AudioInput/AudioInput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/AudioInput/AudioInput.c b/Demos/Device/AudioInput/AudioInput.c
index ade3aa5a..45b9971f 100644
--- a/Demos/Device/AudioInput/AudioInput.c
+++ b/Demos/Device/AudioInput/AudioInput.c
@@ -139,7 +139,7 @@ EVENT_HANDLER(USB_UnhandledControlPacket)
{
uint16_t wValue = Endpoint_Read_Word_LE();
- Endpoint_ClearControlSETUP();
+ Endpoint_ClearSETUP();
/* Check if the host is enabling the audio interface (setting AlternateSetting to 1) */
if (wValue)
@@ -155,7 +155,7 @@ EVENT_HANDLER(USB_UnhandledControlPacket)
/* Acknowledge status stage */
while (!(Endpoint_IsINReady()));
- Endpoint_ClearControlIN();
+ Endpoint_ClearIN();
}
break;