USBDevice library fork to add multi-function (e.g. Keyboard(HID) + Virtual COM Port(CDC)) usb support.
Fork of USBDevice by
Diff: USBSerial/USBCDC.cpp
- Revision:
- 70:7e8e3be9f0e3
- Parent:
- 44:d2638fcd76d9
diff -r dad310740b28 -r 7e8e3be9f0e3 USBSerial/USBCDC.cpp --- a/USBSerial/USBCDC.cpp Tue Sep 11 15:17:01 2018 +0300 +++ b/USBSerial/USBCDC.cpp Thu Oct 04 15:43:40 2018 +0300 @@ -35,7 +35,7 @@ USBCDC::USBCDC(uint16_t vendor_id, uint16_t product_id, uint16_t product_release, bool connect_blocking): USBDevice(vendor_id, product_id, product_release) { terminal_connected = false; - USBDevice::connect(connect_blocking); + // USBDevice::connect(connect_blocking); XXX Removed from here to support multi-function usb devices } bool USBCDC::USBCallback_request(void) {