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.
Diff: USBMSD/USBMSD.cpp
- Revision:
- 51:deafa44182d9
- Parent:
- 47:a0cd9646ecd1
--- a/USBMSD/USBMSD.cpp Mon Apr 20 10:45:54 2015 +0100 +++ b/USBMSD/USBMSD.cpp Thu Apr 23 08:45:28 2015 +0100 @@ -135,10 +135,10 @@ } void USBMSD::disconnect() { + USBDevice::disconnect(); //De-allocate MSD page size: free(page); page = NULL; - USBDevice::disconnect(); } void USBMSD::reset() {