Skip to content

Commit cdc07c1

Browse files
authored
Merge pull request #505 from Props3D/master
USB Device Descriptor Max Power is not configurable #504
2 parents 794ac7f + d522523 commit cdc07c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arduino/Adafruit_USBD_Device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ void Adafruit_USBD_Device::clearConfiguration(void) {
186186
uint8_t const dev_cfg[sizeof(tusb_desc_configuration_t)] = {
187187
TUD_CONFIG_DESCRIPTOR(1, 0, 0, sizeof(tusb_desc_configuration_t),
188188
TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP | TU_BIT(7),
189-
100),
189+
USB_CONFIG_POWER),
190190
};
191191

192192
memcpy(_desc_cfg_buffer, dev_cfg, sizeof(tusb_desc_configuration_t));

0 commit comments

Comments
 (0)