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 65:5bc759cb13f5, committed 2016-05-27
- Comitter:
- joshvaldes
- Date:
- Fri May 27 18:28:26 2016 +0000
- Parent:
- 64:2343ebf8ae3d
- Child:
- 66:756c60620bcf
- Commit message:
- HID name is VirtuaPin Controller
Changed in this revision
| USBDevice/USBDevice.cpp | Show annotated file Show diff for this revision Revisions of this file |
| USBHID/USBHID.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/USBDevice/USBDevice.cpp Fri May 27 18:01:33 2016 +0000
+++ b/USBDevice/USBDevice.cpp Fri May 27 18:28:26 2016 +0000
@@ -963,7 +963,7 @@
static uint8_t stringImanufacturerDescriptor[] = {
0x12, /*bLength*/
STRING_DESCRIPTOR, /*bDescriptorType 0x03*/
- 'm',0,'b',0,'e',0,'d',0,'.',0,'o',0,'r',0,'g',0, /*bString iManufacturer - mbed.org*/
+ //'m',0,'b',0,'e',0,'d',0,'.',0,'o',0,'r',0,'g',0, /*bString iManufacturer - mbed.org*/ // commented out manufacture descriptor mbed.org
};
return stringImanufacturerDescriptor;
}
--- a/USBHID/USBHID.cpp Fri May 27 18:01:33 2016 +0000
+++ b/USBHID/USBHID.cpp Fri May 27 18:28:26 2016 +0000
@@ -188,7 +188,7 @@
uint8_t * USBHID::stringIproductDesc() { // VirtuaPin Controller
static uint8_t stringIproductDescriptor[] = {
- 0x16, //bLength
+ 0x2A, //bLength
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,
