]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
change product desc to 9 and add extra null byte
authorProxcloud <help@proxcloud.eu>
Thu, 8 Feb 2018 12:40:57 +0000 (20:40 +0800)
committerProxcloud <help@proxcloud.eu>
Thu, 8 Feb 2018 12:40:57 +0000 (20:40 +0800)
common/usb_cdc.c

index 51dcacdba7a2e7c107609b2c03b8dcdbab8ae102..82522623eda08306df5ea1be5ff93a94dce03c58 100644 (file)
@@ -183,11 +183,12 @@ static const char StrDescManufacturer[] = {
 };\r
 \r
 static const char StrDescProduct[] = {\r
-  4,                   // Length\r
+  9,                   // Length\r
   0x03,                        // Type is string\r
   'P', 0x00,\r
   'M', 0x00,\r
-  '3', 0x00\r
+  '3', 0x00,\r
+   0x00\r
 };\r
 \r
 const char* getStringDescriptor(uint8_t idx)\r
Impressum, Datenschutz