]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Merge pull request #488 from pwpiwi/fix_usbpower
authorIceman <iceman@iuse.se>
Tue, 28 Nov 2017 20:26:57 +0000 (21:26 +0100)
committerGitHub <noreply@github.com>
Tue, 28 Nov 2017 20:26:57 +0000 (21:26 +0100)
fix: USB Power requirements

common/usb_cdc.c

index 91a63cf3c8cfd8984d8f055411273bf085d85b70..348b97e924145278b2af9a1fc33211dd05497778 100644 (file)
@@ -77,8 +77,8 @@ static const char cfgDescriptor[] = {
        0x02,   // CbNumInterfaces\r
        0x01,   // CbConfigurationValue\r
        0x00,   // CiConfiguration\r
-       0xC0,   // CbmAttributes 0xA0\r
-       0xFA,   // CMaxPower\r
+       0x80,   // CbmAttributes (Bus Powered)\r
+       0x4B,   // CMaxPower (150mA max current drawn from bus)\r
 \r
        /* Interface 0 Descriptor: Communication Class Interface */\r
        0x09, // bLength\r
Impressum, Datenschutz