updsted the USB to persuade it to build for the Dragonfly platfom
Fork of USBDevice by
Diff: USBHID/USBHID.cpp
- Revision:
- 72:e5c300b1df2f
- Parent:
- 70:2c525a50f1b6
diff -r 53949e6131f6 -r e5c300b1df2f USBHID/USBHID.cpp --- a/USBHID/USBHID.cpp Thu Jul 27 12:14:04 2017 +0100 +++ b/USBHID/USBHID.cpp Fri May 11 09:07:29 2018 +0000 @@ -23,6 +23,12 @@ USBHID::USBHID(uint8_t output_report_length, uint8_t input_report_length, uint16_t vendor_id, uint16_t product_id, uint16_t product_release, bool connect): USBDevice(vendor_id, product_id, product_release) { + + +extern int USBHID_USBHIDInstCount; // debug BL +++USBHID_USBHIDInstCount; // debug BL + + output_length = output_report_length; input_length = input_report_length; if(connect) { @@ -33,6 +39,7 @@ bool USBHID::send(HID_REPORT *report) { +printf("USBHID::send %s : %d\r\n", __FILE__, __LINE__); return write(EPINT_IN, report->data, report->length, MAX_HID_REPORT_SIZE); }