summaryrefslogtreecommitdiff
path: root/keyboards/work_louder/work_board
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/work_board
parent12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff)
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/work_louder/work_board')
-rw-r--r--keyboards/work_louder/work_board/config.h2
-rw-r--r--keyboards/work_louder/work_board/info.json3
2 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/work_louder/work_board/config.h b/keyboards/work_louder/work_board/config.h
index 8f392bd050..1d8feeff58 100644
--- a/keyboards/work_louder/work_board/config.h
+++ b/keyboards/work_louder/work_board/config.h
@@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define USB_MAX_POWER_CONSUMPTION 100
-
#define RGBLIGHT_DI_PIN D2
//# define RGBLIGHT_HUE_STEP 8
//# define RGBLIGHT_SAT_STEP 8
diff --git a/keyboards/work_louder/work_board/info.json b/keyboards/work_louder/work_board/info.json
index b79a1144a1..1b3bd41520 100644
--- a/keyboards/work_louder/work_board/info.json
+++ b/keyboards/work_louder/work_board/info.json
@@ -5,7 +5,8 @@
"maintainer": "Work Louder",
"usb": {
"vid": "0x574C",
- "pid": "0xDCD1"
+ "pid": "0xDCD1",
+ "max_power": 100
},
"rgb_matrix": {
"driver": "WS2812"