Change USB Configuration to "Bus Powered"
This commit is contained in:
parent
0363be9358
commit
f380317220
@ -77,8 +77,8 @@ static const char cfgDescriptor[] = {
|
|||||||
0x02, // CbNumInterfaces
|
0x02, // CbNumInterfaces
|
||||||
0x01, // CbConfigurationValue
|
0x01, // CbConfigurationValue
|
||||||
0x00, // CiConfiguration
|
0x00, // CiConfiguration
|
||||||
0xC0, // CbmAttributes (Self Powered - for those with a battery)
|
0x80, // CbmAttributes (Bus Powered)
|
||||||
0x4B, // CMaxPower (150mA max current drawn from bus without battery)
|
0x4B, // CMaxPower (150mA max current drawn from bus)
|
||||||
|
|
||||||
/* Interface 0 Descriptor: Communication Class Interface */
|
/* Interface 0 Descriptor: Communication Class Interface */
|
||||||
0x09, // bLength
|
0x09, // bLength
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user