Merge pull request #488 from pwpiwi/fix_usbpower

fix: USB Power requirements
This commit is contained in:
Iceman 2017-11-28 21:26:57 +01:00 committed by GitHub
commit 653e5ed3ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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