Browse Source

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
capsense
Jacob Alexander 8 years ago
parent
commit
e761960aca
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Bootloader/dfu.desc.c

+ 2
- 2
Bootloader/dfu.desc.c View File

@@ -1,5 +1,5 @@
// Originally Generated from MCHCK Toolkit
/* Copyright (c) Jacob Alexander 2014-2015 <[email protected]>
/* Copyright (c) Jacob Alexander 2014-2016 <[email protected]>
*
* 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
@@ -38,7 +38,7 @@ static const struct usb_config_1 usb_config_1 = {
.bConfigurationValue = 1,
.iConfiguration = 0,
.one = 1,
.bMaxPower = 100
.bMaxPower = 50
},
.usb_function_0 = {
.iface = {