Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
parent
12d42cedd2
commit
2944e93870
@ -1,21 +0,0 @@ |
||||
/*
|
||||
* Copyright 2021 JKDLAB. <jkdlab.co@gmail.com> |
||||
* Copyright 2021 Jaehee <ljh34210329@gmail.com> |
||||
*
|
||||
* 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 |
||||
* the Free Software Foundation; either version 3 of the License, |
||||
* or (at your option) any later version. |
||||
*
|
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
*
|
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see https://www.gnu.org/licenses/.
|
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
#define USB_MAX_POWER_CONSUMPTION 100 |
@ -1,5 +0,0 @@ |
||||
#pragma once |
||||
|
||||
// The Teensy 2++ consumes about 60 mA of current at its full speed of 16 MHz as
|
||||
// per https://www.pjrc.com/teensy/low_power.html
|
||||
#define USB_MAX_POWER_CONSUMPTION 100 |
@ -1,19 +0,0 @@ |
||||
/* Copyright 2020 Paul James
|
||||
* |
||||
* 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 |
||||
* the Free Software Foundation, either version 2 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
#define USB_MAX_POWER_CONSUMPTION 100 |
@ -1,21 +0,0 @@ |
||||
/* Copyright 2021 James R. Maynard III <jaymaynard@gmail.com>
|
||||
* |
||||
* 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 |
||||
* the Free Software Foundation, either version 2 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
|
||||
// Both controllers draw 100 mA or less
|
||||
#define USB_MAX_POWER_CONSUMPTION 100 |
Loading…
Reference in new issue