Ensure that the Keyboard and Mouse demos adhere to the boot protocol specification...
[pub/lufa.git] / Demos / AudioInput / AudioInput.c
index 0db41c3..f41306f 100644 (file)
  *  Main source file for the Audio Input demo. This file contains the main tasks of the demo and\r
  *  is responsible for the initial application hardware configuration.\r
  */\r
\r
-/* ---  Project Configuration  --- */\r
-//#define MICROPHONE_BIASED_TO_HALF_RAIL\r
-/* --- --- --- --- --- --- --- --- */\r
 \r
 #include "AudioInput.h"\r
 \r
@@ -163,7 +159,8 @@ EVENT_HANDLER(USB_UnhandledControlPacket)
                                        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