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:
parent
47ec39da8e
commit
e761960aca
1 changed files with 2 additions and 2 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue