From: pwpiwi Date: Fri, 17 Nov 2017 08:13:37 +0000 (+0100) Subject: fix: USB Power requirements X-Git-Tag: v3.1.0~115^2~1 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/0363be935895ba8d746703fb57c74856b7a2c3d4 fix: USB Power requirements * correctly indicate the maximum current drawn from the USB bus --- diff --git a/common/usb_cdc.c b/common/usb_cdc.c index 91a63cf3..3d17f81c 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 0xA0 - 0xFA, // CMaxPower + 0xC0, // CbmAttributes (Self Powered - for those with a battery) + 0x4B, // CMaxPower (150mA max current drawn from bus without battery) /* Interface 0 Descriptor: Communication Class Interface */ 0x09, // bLength