Skip to content

Commit d84b3fa

Browse files
committed
reduce reported current so we can use with iOS for gboard. no computer actually cares about this number, current isnt throttled or anything.
1 parent 73a5b11 commit d84b3fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/USB/USBCore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ _Pragma("pack()")
258258
* idVendor, idProduct, bcdDevice, iManufacturer, iProduct, iSerialNumber, bNumConfigurations */
259259

260260
#define D_CONFIG(_totalLength,_interfaces) \
261-
{ 9, 2, _totalLength,_interfaces, 1, 0, USB_CONFIG_BUS_POWERED | USB_CONFIG_REMOTE_WAKEUP, USB_CONFIG_POWER_MA(500) }
261+
{ 9, 2, _totalLength,_interfaces, 1, 0, USB_CONFIG_BUS_POWERED | USB_CONFIG_REMOTE_WAKEUP, USB_CONFIG_POWER_MA(100) }
262262
/* Table 9-10. Standard Configuration Descriptor
263263
* bLength, bDescriptorType, wTotalLength, bNumInterfaces, bConfigurationValue, iConfiguration
264264
* bmAttributes, bMaxPower */

0 commit comments

Comments
 (0)