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/yiancardesigns/barleycorn/config.h | 3 --- keyboards/yiancardesigns/barleycorn/info.json | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'keyboards/yiancardesigns/barleycorn') diff --git a/keyboards/yiancardesigns/barleycorn/config.h b/keyboards/yiancardesigns/barleycorn/config.h index 5eed7521ff..5e90dd3515 100644 --- a/keyboards/yiancardesigns/barleycorn/config.h +++ b/keyboards/yiancardesigns/barleycorn/config.h @@ -41,9 +41,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define USB_MAX_POWER_CONSUMPTION 100 - - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/yiancardesigns/barleycorn/info.json b/keyboards/yiancardesigns/barleycorn/info.json index ad19574eae..99786319b3 100644 --- a/keyboards/yiancardesigns/barleycorn/info.json +++ b/keyboards/yiancardesigns/barleycorn/info.json @@ -5,7 +5,8 @@ "usb": { "vid": "0x8968", "pid": "0x4749", - "device_version": "0.0.1" + "device_version": "0.0.1", + "max_power": 100 }, "processor": "atmega328p", "bootloader": "usbasploader", -- cgit v1.2.3