fix: USB Power requirements
* correctly indicate the maximum current drawn from the USB bus
This commit is contained in:
parent
c95affa8d3
commit
0363be9358
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user