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: USBSerial/USBCDC.cpp
- Revision:
- 64:c7639faed2eb
- Parent:
- 19:fcb63a105965
--- a/USBSerial/USBCDC.cpp Wed Apr 02 21:00:41 2014 +0100 +++ b/USBSerial/USBCDC.cpp Mon Apr 28 12:15:41 2014 +0000 @@ -34,6 +34,10 @@ USBDevice::connect(connect_blocking); } +void USBCDC::USBCallback_busReset(void) { + terminal_connected = false; +}; + bool USBCDC::USBCallback_request(void) { /* Called in ISR context */