From: Proxcloud Date: Thu, 8 Feb 2018 14:32:08 +0000 (+0800) Subject: make product string even length X-Git-Tag: v3.1.0~68^2 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/f3dc6d59f45e25fd199cb20cdf4d3af270d93963 make product string even length --- diff --git a/common/usb_cdc.c b/common/usb_cdc.c index 82522623..d33bca7b 100644 --- a/common/usb_cdc.c +++ b/common/usb_cdc.c @@ -183,12 +183,17 @@ static const char StrDescManufacturer[] = { }; static const char StrDescProduct[] = { - 9, // Length + 20, // Length 0x03, // Type is string - 'P', 0x00, - 'M', 0x00, - '3', 0x00, - 0x00 + 'p', 0x00, + 'r', 0x00, + 'o', 0x00, + 'x', 0x00, + 'm', 0x00, + 'a', 0x00, + 'r', 0x00, + 'k', 0x00, + '3', 0x00 }; const char* getStringDescriptor(uint8_t idx)