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

// Originally Generated from MCHCK Toolkit // 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 * 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
.bConfigurationValue = 1, .bConfigurationValue = 1,
.iConfiguration = 0, .iConfiguration = 0,
.one = 1, .one = 1,
.bMaxPower = 100
.bMaxPower = 50
}, },
.usb_function_0 = { .usb_function_0 = {
.iface = { .iface = {