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