From 018ab99c9c070192c6b9c43983a775e4774b32e2 Mon Sep 17 00:00:00 2001 From: Iceman Date: Thu, 6 Sep 2018 18:20:24 +0200 Subject: [PATCH] still 8888 bootrom --- common/usb_cdc.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/common/usb_cdc.c b/common/usb_cdc.c index 7fac3f945..fe21264dc 100644 --- a/common/usb_cdc.c +++ b/common/usb_cdc.c @@ -374,7 +374,7 @@ static const char StrManufacturer[] = { // Note: This matches upstream proxmark3 USB descriptors. static const char StrProduct[] = { - 20, // Length + 20, // Length 0x03, // Type is string 'p', 0, 'r', 0, @@ -388,21 +388,19 @@ static const char StrProduct[] = { }; static const char StrSerialNumber[] = { - 14, // Length + 10, // Length 0x03, // Type is string - 'i', 0, - 'c', 0, - 'e', 0, - 'm', 0, - 'a', 0, - 'n', 0, + '8', 0, + '8', 0, + '8', 0, + '8', 0, }; // size includes their own field. static const char StrMS_OSDescriptor[] = { - 18, // length 0x12 + 18, // length 0x12 0x03, // Type is string - 'M',0,'S',0,'F',0,'T',0,'1',0,'0',0,'0',0,MS_VENDOR_CODE,0 + 'M',0,'S',0,'F',0,'T',0,'1',0,'0',0,'0',0,MS_VENDOR_CODE,0 }; const char* getStringDescriptor(uint8_t idx) {