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.
Fork of USBDevice by
Diff: USBSerial/USBCDC.h
- Revision:
- 69:dad310740b28
- Parent:
- 25:7c72828865f3
--- a/USBSerial/USBCDC.h Tue Jun 13 22:42:27 2017 +0000
+++ b/USBSerial/USBCDC.h Tue Sep 11 15:17:01 2018 +0300
@@ -38,6 +38,8 @@
* @param connect_blocking define if the connection must be blocked if USB not plugged in
*/
USBCDC(uint16_t vendor_id, uint16_t product_id, uint16_t product_release, bool connect_blocking);
+
+ volatile bool terminal_connected;
protected:
@@ -116,7 +118,6 @@
virtual bool USBCallback_request();
virtual void USBCallback_requestCompleted(uint8_t *buf, uint32_t length);
virtual bool USBCallback_setConfiguration(uint8_t configuration);
- volatile bool terminal_connected;
};
