Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of USBDevice by
Revision 64:2343ebf8ae3d, committed 2016-05-27
- Comitter:
- joshvaldes
- Date:
- Fri May 27 18:01:33 2016 +0000
- Parent:
- 63:01321bd6ff89
- Child:
- 65:5bc759cb13f5
- Commit message:
- updated HID name, but it still says mbed.org
Changed in this revision
| USBHID/USBHID.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/USBHID/USBHID.cpp Tue May 03 00:16:32 2016 +0100
+++ b/USBHID/USBHID.cpp Fri May 27 18:01:33 2016 +0000
@@ -186,11 +186,13 @@
return stringIinterfaceDescriptor;
}
-uint8_t * USBHID::stringIproductDesc() {
+uint8_t * USBHID::stringIproductDesc() { // VirtuaPin Controller
static uint8_t stringIproductDescriptor[] = {
0x16, //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
+ STRING_DESCRIPTOR, //bDescriptorType 0x03
+ 'V',0,'i',0,'r',0,'t',0,'u',0,'a',0,'P',0,'i',0,
+ 'n',0,' ',0,'C',0,'o',0,'n',0,'t',0,'r',0,'o',0,'l',0,
+ 'l',0,'e',0,'r',0 //bString iProduct - HID device
};
return stringIproductDescriptor;
}
