USB device stack (USBDevice::connect non-blocking)

Fork of USBDevice by mbed official

Revision:
18:a0db8d2001f6
Parent:
2:34856a6adb5b
--- a/USBDevice/USBDevice.h	Thu Jan 23 17:30:20 2014 +0000
+++ b/USBDevice/USBDevice.h	Sat Feb 15 12:34:43 2014 +0000
@@ -37,8 +37,10 @@
     
     /*
     * Connect a device
+    * 
+    * @param blocking: block if not configured
     */
-    void connect(void);
+    void connect(bool blocking = true);
     
     /*
     * Disconnect a device