From 19664eb180d274825536f54090c90e7c2cdb0ae1 Mon Sep 17 00:00:00 2001 From: Drew Fisher Date: Tue, 23 Feb 2010 18:44:28 -0500 Subject: [PATCH] Fix HID descriptor length #define in usbconfig.h --- usbconfig.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usbconfig.h b/usbconfig.h index 111fa23..64e3c5c 100644 --- a/usbconfig.h +++ b/usbconfig.h @@ -277,8 +277,7 @@ section at the end of this file). * HID class is 3, no subclass and protocol required (but may be useful!) * CDC class is 2, use subclass 2 and protocol 1 for ACM */ -//FIXME: I've filled in above here, but below here needs finishing. Drew Fisher, 2010-01-30 -#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH 42 +#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH 28 /* 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 -- 2.39.2