summaryrefslogtreecommitdiff
path: root/keyboards/chavdai40
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-05-01 17:37:12 +1000
committerGitHub <noreply@github.com>2023-05-01 17:37:12 +1000
commit2944e938703e2049bb6262a0ab31e701d27e8ab3 (patch)
treea73caa75fafe8b7926e18886d603c032d246fcac /keyboards/chavdai40
parent12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff)
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/chavdai40')
-rw-r--r--keyboards/chavdai40/rev1/config.h3
-rw-r--r--keyboards/chavdai40/rev1/info.json3
-rw-r--r--keyboards/chavdai40/rev2/config.h3
-rw-r--r--keyboards/chavdai40/rev2/info.json3
4 files changed, 4 insertions, 8 deletions
diff --git a/keyboards/chavdai40/rev1/config.h b/keyboards/chavdai40/rev1/config.h
index 277219f16d..8f5f5496a2 100644
--- a/keyboards/chavdai40/rev1/config.h
+++ b/keyboards/chavdai40/rev1/config.h
@@ -19,6 +19,3 @@
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE
-
-/* usb power settings */
-#define USB_MAX_POWER_CONSUMPTION 100
diff --git a/keyboards/chavdai40/rev1/info.json b/keyboards/chavdai40/rev1/info.json
index 511dff4ad1..67705c25bb 100644
--- a/keyboards/chavdai40/rev1/info.json
+++ b/keyboards/chavdai40/rev1/info.json
@@ -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"],
diff --git a/keyboards/chavdai40/rev2/config.h b/keyboards/chavdai40/rev2/config.h
index 277219f16d..8f5f5496a2 100644
--- a/keyboards/chavdai40/rev2/config.h
+++ b/keyboards/chavdai40/rev2/config.h
@@ -19,6 +19,3 @@
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE
-
-/* usb power settings */
-#define USB_MAX_POWER_CONSUMPTION 100
diff --git a/keyboards/chavdai40/rev2/info.json b/keyboards/chavdai40/rev2/info.json
index 97cd474fa0..acefcabdc7 100644
--- a/keyboards/chavdai40/rev2/info.json
+++ b/keyboards/chavdai40/rev2/info.json
@@ -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"],