Move USB_MAX_POWER_CONSUMPTION to data driven (#20648)

This commit is contained in:
Ryan
2023-05-01 17:37:12 +10:00
committed by GitHub
parent 12d42cedd2
commit 2944e93870
99 changed files with 90 additions and 226 deletions

View File

@@ -16,8 +16,4 @@
#pragma once
// The Teensy 3.6 consumes about 80 mA of current at its full speed of 180 MHz:
// https://forum.pjrc.com/threads/47256-What-is-the-power-consumption-of-the-Teensy-3-6
#define USB_MAX_POWER_CONSUMPTION 100
#define EEPROM_SIZE 4096

View File

@@ -4,7 +4,8 @@
"usb": {
"vid": "0x1209",
"pid": "0x345C",
"device_version": "0.0.1"
"device_version": "0.0.1",
"max_power": 100
},
"matrix_pins": {
"cols": ["B3", "D1", "C0", "D5", "C1", "B2", "D4"],