adds a USB serial port to your design
Dependents: Example_WatchDog_Timer
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() {