From ff16cbb4dba558909fc72494b1e351ac73ea5626 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 3 Sep 2018 19:04:53 +0200 Subject: [PATCH] FIX: USB Device descriptor issue, (@micolous, @megabug) https://github.com/iceman1001/proxmark3/pull/243 https://github.com/TeamWalrus/proxmark3/commit/1be25f9125385ffff958450fd8461a435e49001f --- common/usb_cdc.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/common/usb_cdc.c b/common/usb_cdc.c index 12c507def..f1d9c157f 100644 --- a/common/usb_cdc.c +++ b/common/usb_cdc.c @@ -373,17 +373,15 @@ static const char StrManufacturer[] = { }; static const char StrProduct[] = { - 22, // Length + 20, // Length 0x03, // Type is string - 'P',0,'M',0,'3',0,' ',0,'D',0,'e',0,'v',0,'i',0,'c',0,'e',0 + 'p',0,'r',0,'o',0,'x',0,'m',0,'a',0,'r',0,'k',0,'3',0 }; static const char StrSerialNumber[] = { - 8, // Length + 14, // Length 0x03, // Type is string - '8',0, - '8',0, - '8',0 + 'i',0,'c',0,'e',0,'m',0,'a',0,'n',0 }; // size includes their own field.