USBAudio example using a microphone

Dependencies:   USBDevice mbed

Revision:
3:e6a29c83ac52
Parent:
0:539ec61e1fbb
--- a/USBDevice/USBDevice/USBBusInterface_LPC11U.cpp	Fri Dec 16 17:12:56 2011 +0000
+++ b/USBDevice/USBDevice/USBBusInterface_LPC11U.cpp	Mon Dec 19 15:46:17 2011 +0000
@@ -574,7 +574,6 @@
     instance->usbisr();
 }
 
-DigitalOut p(p20);
 void USBHAL::usbisr(void) {
     // Start of frame
     if (LPC_USB->INTSTAT & FRAME_INT) {
@@ -686,13 +685,11 @@
     }
 
     if (LPC_USB->INTSTAT & EP(EP3IN)) {
-        p = 1;
         // Clear EP3_IN interrupt
         LPC_USB->INTSTAT = EP(EP3IN);
         epComplete |= EP(EP3IN);
         if (EP3_IN_callback())
             epComplete &= ~EP(EP3IN);
-        p = 0;
     }
 
     if (LPC_USB->INTSTAT & EP(EP3OUT)) {