virtua pinnnn / USBDevice

Fork of USBDevice by mbed official

Revision:
70:f60a9be29d9f
Parent:
68:06fd9b306fb5
--- a/USBHID/USBHID.cpp	Wed Jun 22 20:08:26 2016 +0000
+++ b/USBHID/USBHID.cpp	Tue Nov 08 03:32:20 2016 +0000
@@ -189,10 +189,18 @@
 
 uint8_t * USBHID::stringIproductDesc() { // VirtuaPin Controller
     static uint8_t stringIproductDescriptor[] = {
-        0x16,                                                       //bLength
-        STRING_DESCRIPTOR,                                          //bDescriptorType 0x03 
-        'C',0,'o',0,'n',0,'t',0,'r',0,'o',0,'l',0,
-        'l',0,'e',0,'r',0 //bString iProduct - HID device
+        0x2A,
+        STRING_DESCRIPTOR,                           
+        '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,
+        
+        
+        //0x00,
+        //STRING_DESCRIPTOR,
+        
+        //0x16,                                                       //bLength
+        //STRING_DESCRIPTOR,                                          //bDescriptorType 0x03 
+        //'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;
 }