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

@@ -19,6 +19,3 @@
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE
/* usb power settings */
#define USB_MAX_POWER_CONSUMPTION 100

View File

@@ -1,7 +1,8 @@
{
"keyboard_name": "Chavdai40",
"usb": {
"device_version": "0.0.1"
"device_version": "0.0.1",
"max_power": 100
},
"matrix_pins": {
"cols": ["B8", "B4", "B3", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1"],

View File

@@ -19,6 +19,3 @@
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE
/* usb power settings */
#define USB_MAX_POWER_CONSUMPTION 100

View File

@@ -1,7 +1,8 @@
{
"keyboard_name": "Chavdai40 rev2",
"usb": {
"device_version": "0.0.2"
"device_version": "0.0.2",
"max_power": 100
},
"matrix_pins": {
"cols": ["B7", "B4", "B3", "A8", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1"],