USB device stack

Dependents:   mbed-mX-USB-TEST1 USBMSD_SD_HID_HelloWorld HidTest MIDI_usb_bridge ... more

Legacy Warning

This is an mbed 2 library. To learn more about mbed OS 5, visit the docs.

Pull requests against this repository are no longer supported. Please raise against mbed OS 5 as documented above.

Revision:
3:6d85e04fb59f
Parent:
1:80ab0d068708
Child:
5:d27e4c226965
--- a/USBMSD/USBMSD.cpp	Tue Jul 17 14:35:40 2012 +0000
+++ b/USBMSD/USBMSD.cpp	Sun Oct 14 12:38:56 2012 +0000
@@ -452,6 +452,10 @@
                             }
                         }
                         break;
+                    case MEDIA_REMOVAL:
+                        csw.Status = CSW_PASSED;
+                        sendCSW();
+                        break;
                     default:
                         fail();
                         break;