YQQ
Dependents: FTHR_USB_serial API_2x_ECO
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; };