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/kagizaraya/chidori/config.h | 1 - keyboards/kagizaraya/chidori/info.json | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/kagizaraya') diff --git a/keyboards/kagizaraya/chidori/config.h b/keyboards/kagizaraya/chidori/config.h index 51f8958e20..eb719e9504 100644 --- a/keyboards/kagizaraya/chidori/config.h +++ b/keyboards/kagizaraya/chidori/config.h @@ -48,7 +48,6 @@ along with this program. If not, see . //#define NO_ACTION_ONESHOT /* USB config */ -#define USB_MAX_POWER_CONSUMPTION 100 #define USB_COUNT_SOF 0 #define USB_INTR_CFG_SET (1 << ISC01) #define USB_INTR_ENABLE_BIT INT0 diff --git a/keyboards/kagizaraya/chidori/info.json b/keyboards/kagizaraya/chidori/info.json index 16cd17f942..6603f54b03 100644 --- a/keyboards/kagizaraya/chidori/info.json +++ b/keyboards/kagizaraya/chidori/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0xFEED", "pid": "0x3942", - "device_version": "0.0.1" + "device_version": "0.0.1", + "max_power": 100 }, "processor": "atmega328p", "bootloader": "usbasploader", -- cgit v1.2.3