summaryrefslogtreecommitdiff
path: root/keyboards/littlealby
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/littlealby
parent12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff)
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/littlealby')
-rw-r--r--keyboards/littlealby/mute/config.h2
-rw-r--r--keyboards/littlealby/mute/info.json3
2 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/littlealby/mute/config.h b/keyboards/littlealby/mute/config.h
index bd2aa9c26b..3a5b0356a9 100644
--- a/keyboards/littlealby/mute/config.h
+++ b/keyboards/littlealby/mute/config.h
@@ -15,8 +15,6 @@
*/
#pragma once
-#define USB_MAX_POWER_CONSUMPTION 100
-
#ifdef RGBLIGHT_ENABLE
#define RGBLED_NUM 1
#endif
diff --git a/keyboards/littlealby/mute/info.json b/keyboards/littlealby/mute/info.json
index 9d2a172116..a6392a76e7 100644
--- a/keyboards/littlealby/mute/info.json
+++ b/keyboards/littlealby/mute/info.json
@@ -6,7 +6,8 @@
"usb": {
"vid": "0x4142",
"pid": "0x4D55",
- "device_version": "0.0.1"
+ "device_version": "0.0.1",
+ "max_power": 100
},
"ws2812": {
"pin": "B6"