remove casting to fix build error
Diff: USBMSD/USBMSD.cpp
- Revision:
- 51:deafa44182d9
- Parent:
- 47:a0cd9646ecd1
diff -r a3c50882f2c5 -r deafa44182d9 USBMSD/USBMSD.cpp --- 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() {