virtua pinnnn / USBDevice

Fork of USBDevice by mbed official

Files at this revision

API Documentation at this revision

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,