USB device stack

Dependents:   blinky_max32630fthr FTHR_USB_serial FTHR_OLED HSP_RPC_GUI_3_0_1 ... more

Fork of USBDevice by mbed official

Files at this revision

API Documentation at this revision

Comitter:
Emre.Eken@IST-LT-36262.maxim-ic.internal
Date:
Tue Sep 11 15:17:01 2018 +0300
Parent:
68:17ac7abb27a7
Commit message:
makes a variable public instead of protected

Changed in this revision

USBSerial/USBCDC.h Show annotated file Show diff for this revision Revisions of this file
--- 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;
 
 };