From 2944e938703e2049bb6262a0ab31e701d27e8ab3 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 1 May 2023 17:37:12 +1000 Subject: Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648) --- keyboards/handwired/dc/mc/001/config.h | 2 -- keyboards/handwired/dc/mc/001/info.json | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'keyboards/handwired/dc/mc/001') diff --git a/keyboards/handwired/dc/mc/001/config.h b/keyboards/handwired/dc/mc/001/config.h index 4e9dfdea8c..533f50e018 100644 --- a/keyboards/handwired/dc/mc/001/config.h +++ b/keyboards/handwired/dc/mc/001/config.h @@ -32,5 +32,3 @@ along with this program. If not, see . #define NO_ACTION_LAYER #define NO_ACTION_TAPPING #define NO_ACTION_ONESHOT - -#define USB_MAX_POWER_CONSUMPTION 100 diff --git a/keyboards/handwired/dc/mc/001/info.json b/keyboards/handwired/dc/mc/001/info.json index 852915569e..404cf2e45d 100644 --- a/keyboards/handwired/dc/mc/001/info.json +++ b/keyboards/handwired/dc/mc/001/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x4443", "pid": "0x4D43", - "device_version": "0.0.1" + "device_version": "0.0.1", + "max_power": 100 }, "encoder": { "rotary": [ -- cgit v1.2.3