X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/0363be935895ba8d746703fb57c74856b7a2c3d4..13c25f892e003f1fa3639b7154782c3146aad4eb:/common/usb_cdc.c diff --git a/common/usb_cdc.c b/common/usb_cdc.c index 3d17f81c..51dcacdb 100644 --- a/common/usb_cdc.c +++ b/common/usb_cdc.c @@ -77,8 +77,8 @@ static const char cfgDescriptor[] = { 0x02, // CbNumInterfaces 0x01, // CbConfigurationValue 0x00, // CiConfiguration - 0xC0, // CbmAttributes (Self Powered - for those with a battery) - 0x4B, // CMaxPower (150mA max current drawn from bus without battery) + 0x80, // CbmAttributes (Bus Powered) + 0x4B, // CMaxPower (150mA max current drawn from bus) /* Interface 0 Descriptor: Communication Class Interface */ 0x09, // bLength @@ -183,7 +183,7 @@ static const char StrDescManufacturer[] = { }; static const char StrDescProduct[] = { - 8, // Length + 4, // Length 0x03, // Type is string 'P', 0x00, 'M', 0x00,