Fork of mbed official USBDevice with USB connection blocking disabled by default

Fork of USBDevice by mbed official

Files at this revision

API Documentation at this revision

Comitter:
faucherb94
Date:
Wed Dec 17 18:46:33 2014 +0000
Parent:
28:c09a0c9bf425
Commit message:
Disabled connection blocking by default

Changed in this revision

USBSerial/USBSerial.h Show annotated file Show diff for this revision Revisions of this file
diff -r c09a0c9bf425 -r 58d20e05db7b USBSerial/USBSerial.h
--- a/USBSerial/USBSerial.h	Tue Aug 05 20:15:19 2014 +0100
+++ b/USBSerial/USBSerial.h	Wed Dec 17 18:46:33 2014 +0000
@@ -56,7 +56,7 @@
     * @param connect_blocking define if the connection must be blocked if USB not plugged in
     *
     */
-    USBSerial(uint16_t vendor_id = 0x1f00, uint16_t product_id = 0x2012, uint16_t product_release = 0x0001, bool connect_blocking = true): USBCDC(vendor_id, product_id, product_release, connect_blocking), buf(128){
+    USBSerial(uint16_t vendor_id = 0x1f00, uint16_t product_id = 0x2012, uint16_t product_release = 0x0001, bool connect_blocking = false): USBCDC(vendor_id, product_id, product_release, connect_blocking), buf(128){
         settingsChangedCallback = 0;
     };