Archived
1
0

Setting bootloader max power to 100 mA

- This amount of current is guaranteed by the USB spec before enumeration
- Generally the bootloader doesn't need nearly this much, but to be safe
This commit is contained in:
Jacob Alexander 2016-02-21 14:19:52 -08:00
parent 47ec39da8e
commit e761960aca

View File

@ -1,5 +1,5 @@
// Originally Generated from MCHCK Toolkit // Originally Generated from MCHCK Toolkit
/* Copyright (c) Jacob Alexander 2014-2015 <haata@kiibohd.com> /* Copyright (c) Jacob Alexander 2014-2016 <haata@kiibohd.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -38,7 +38,7 @@ static const struct usb_config_1 usb_config_1 = {
.bConfigurationValue = 1, .bConfigurationValue = 1,
.iConfiguration = 0, .iConfiguration = 0,
.one = 1, .one = 1,
.bMaxPower = 100 .bMaxPower = 50
}, },
.usb_function_0 = { .usb_function_0 = {
.iface = { .iface = {