Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: USBSerial/USBCDC.cpp
- Revision:
- 64:c7639faed2eb
- Parent:
- 19:fcb63a105965
diff -r 5b7d31d9d3f3 -r c7639faed2eb USBSerial/USBCDC.cpp --- 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 */