Added general purpus HID report
Fork of USBDevice by
Diff: USBHID/USBHID.cpp
- Revision:
- 28:6cc8a2d36729
- Parent:
- 25:7c72828865f3
diff -r 0c6524151939 -r 6cc8a2d36729 USBHID/USBHID.cpp --- a/USBHID/USBHID.cpp Wed Jun 18 09:00:48 2014 +0100 +++ b/USBHID/USBHID.cpp Fri Aug 15 14:14:38 2014 +0000 @@ -188,9 +188,9 @@ uint8_t * USBHID::stringIproductDesc() { static uint8_t stringIproductDescriptor[] = { - 0x16, //bLength + 0x14, //bLength STRING_DESCRIPTOR, //bDescriptorType 0x03 - 'H',0,'I',0,'D',0,' ',0,'D',0,'E',0,'V',0,'I',0,'C',0,'E',0 //bString iProduct - HID device + 'f',0,'a',0,'v',0,'B',0,'u',0,'t',0,'t',0,'o',0,'n',0, //bString iProduct - HID device }; return stringIproductDescriptor; }