From 90edeac4b489b141428e865f3c6c761fecada8c4 Mon Sep 17 00:00:00 2001 From: Christoph Zimmermann Date: Mon, 1 May 2023 22:07:29 +0200 Subject: [PATCH] Move USB_MAX_POWER_CONSUMPTION to data driven due to upstream change --- keyboards/ibm/model_m/ctrl_m/config.h | 2 -- keyboards/ibm/model_m/ctrl_m/info.json | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/keyboards/ibm/model_m/ctrl_m/config.h b/keyboards/ibm/model_m/ctrl_m/config.h index 155d43ee153..046122c0929 100644 --- a/keyboards/ibm/model_m/ctrl_m/config.h +++ b/keyboards/ibm/model_m/ctrl_m/config.h @@ -20,8 +20,6 @@ along with this program. If not, see . /* The Model M as a membrane based keyboard without diodes has ghost keys */ #define MATRIX_HAS_GHOST -#define USB_MAX_POWER_CONSUMPTION 200 - /* As we replace the caps lock key with the win key, enable by default the * Caps Word feature by double tapping the shift key */ #define DOUBLE_TAP_SHIFT_TURNS_ON_CAPS_WORD diff --git a/keyboards/ibm/model_m/ctrl_m/info.json b/keyboards/ibm/model_m/ctrl_m/info.json index e25eaaecd1c..df2d7b0bced 100644 --- a/keyboards/ibm/model_m/ctrl_m/info.json +++ b/keyboards/ibm/model_m/ctrl_m/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x1D50", "pid": "0x6180", - "device_version": "1.0.0" + "device_version": "1.0.0", + "max_power": 100 }, "debounce": 5, "matrix_pins": {