summaryrefslogtreecommitdiffstats
path: root/keyboards/work_louder/micro
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/work_louder/micro
parent12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff)
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/work_louder/micro')
-rw-r--r--keyboards/work_louder/micro/config.h6
-rw-r--r--keyboards/work_louder/micro/info.json3
2 files changed, 2 insertions, 7 deletions
diff --git a/keyboards/work_louder/micro/config.h b/keyboards/work_louder/micro/config.h
index f23c5a4ef1..234b1de602 100644
--- a/keyboards/work_louder/micro/config.h
+++ b/keyboards/work_louder/micro/config.h
@@ -4,12 +4,6 @@
#pragma once
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-#define USB_MAX_POWER_CONSUMPTION 100
-
#define RGB_MATRIX_LED_COUNT 12
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
#define RGB_MATRIX_DISABLE_KEYCODES
diff --git a/keyboards/work_louder/micro/info.json b/keyboards/work_louder/micro/info.json
index f6b45226a0..80c1c259f5 100644
--- a/keyboards/work_louder/micro/info.json
+++ b/keyboards/work_louder/micro/info.json
@@ -49,7 +49,8 @@
"usb": {
"device_version": "1.0.0",
"pid": "0xE6E3",
- "vid": "0x574C"
+ "vid": "0x574C",
+ "max_power": 100
},
"encoder": {
"rotary": [