From: pwpiwi Date: Tue, 28 Nov 2017 20:22:29 +0000 (+0100) Subject: Change USB Configuration to "Bus Powered" X-Git-Tag: v3.1.0~115^2 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/f380317220a8326545c528f5a054238d54b9046c?ds=inline Change USB Configuration to "Bus Powered" --- diff --git a/common/usb_cdc.c b/common/usb_cdc.c index 3d17f81c..348b97e9 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