USBDevice library fork to add multi-function (e.g. Keyboard(HID) + Virtual COM Port(CDC)) usb support.

Fork of USBDevice by Maxim Integrated

Revision:
70:7e8e3be9f0e3
Parent:
47:a0cd9646ecd1
diff -r dad310740b28 -r 7e8e3be9f0e3 USBHID/USBKeyboard.h
--- a/USBHID/USBKeyboard.h	Tue Sep 11 15:17:01 2018 +0300
+++ b/USBHID/USBKeyboard.h	Thu Oct 04 15:43:40 2018 +0300
@@ -103,9 +103,9 @@
     *
     */
     USBKeyboard(uint16_t vendor_id = 0x1235, uint16_t product_id = 0x0050, uint16_t product_release = 0x0001):
-            USBHID(0, 0, vendor_id, product_id, product_release, false) {
+    	USBDevice(vendor_id, product_id, product_release), USBHID(0, 0, vendor_id, product_id, product_release, false) {
         lock_status = 0;
-        connect();
+        // connect(); XXX Removed from here to support multi-function usb devices
     };
 
     /**