Changed descriptor length.

This commit is contained in:
Adrian Woodley 2018-06-06 00:24:26 +08:00
parent c173d795c6
commit cafa87587d

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 52
#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH 56
/* 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