Update for new version of mbed.
Fork of USBDevice_STM32F103 by
Diff: USBMSD/USBMSD.cpp
- Revision:
- 3:6d85e04fb59f
- Parent:
- 1:80ab0d068708
- Child:
- 5:d27e4c226965
diff -r 34856a6adb5b -r 6d85e04fb59f USBMSD/USBMSD.cpp --- 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;