USB device stack, fixes for USBSerial, lightweight without malloc (RTOS ready)

Dependents:   EMIRv2

Fork of USBDevice by Ales Povalac

Revision:
23:c7639faed2eb
Parent:
19:fcb63a105965
--- a/USBSerial/USBSerial.h	Wed Apr 02 21:00:41 2014 +0100
+++ b/USBSerial/USBSerial.h	Mon Apr 28 12:15:41 2014 +0000
@@ -83,6 +83,13 @@
     */
     uint8_t available(); 
 
+    /**
+    * Check if the terminal is connected.
+    *
+    * @returns connection status
+    */
+    bool connected(); 
+
     /** Determine if there is a character available to read
      *
      *  @returns