X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/4a09da20989dfe0c41dc1272fa6dce1e11539c15..ee7bd5685e000b3a128069fd75d436c653ab54b2:/Demos/AudioInput/AudioInput.c diff --git a/Demos/AudioInput/AudioInput.c b/Demos/AudioInput/AudioInput.c index 0db41c3c1..f41306f3b 100644 --- a/Demos/AudioInput/AudioInput.c +++ b/Demos/AudioInput/AudioInput.c @@ -33,10 +33,6 @@ * Main source file for the Audio Input demo. This file contains the main tasks of the demo and * is responsible for the initial application hardware configuration. */ - -/* --- Project Configuration --- */ -//#define MICROPHONE_BIASED_TO_HALF_RAIL -/* --- --- --- --- --- --- --- --- */ #include "AudioInput.h" @@ -163,7 +159,8 @@ EVENT_HANDLER(USB_UnhandledControlPacket) Scheduler_SetTaskMode(USB_Audio_Task, TASK_STOP); } - /* Handshake the request */ + /* Acknowledge status stage */ + while (!(Endpoint_IsSetupINReady())); Endpoint_ClearSetupIN(); }