This commit is contained in:
Adrian Woodley
2018-06-06 01:18:40 +08:00
parent dc34252dd4
commit b0c3a802a5
2 changed files with 61 additions and 103 deletions

View File

@@ -282,7 +282,7 @@ extern void hadUsbReset(void); // define the function for usbdrv.c
* CDC class is 2, use subclass 2 and protocol 1 for ACM
*/
/* #define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH 42 */
#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH 56
#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH 52
/* Define this to the length of the HID report descriptor, if you implement
* an HID device. Otherwise don't define it or define it to 0.
* If you use this define, you must add a PROGMEM character array named