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/kprepublic/jj4x4/config.h | 2 -- keyboards/kprepublic/jj4x4/info.json | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'keyboards/kprepublic/jj4x4') diff --git a/keyboards/kprepublic/jj4x4/config.h b/keyboards/kprepublic/jj4x4/config.h index c0220254b9..5646d4c653 100644 --- a/keyboards/kprepublic/jj4x4/config.h +++ b/keyboards/kprepublic/jj4x4/config.h @@ -30,5 +30,3 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define USB_MAX_POWER_CONSUMPTION 100 diff --git a/keyboards/kprepublic/jj4x4/info.json b/keyboards/kprepublic/jj4x4/info.json index 337b532f97..fce30c67b0 100644 --- a/keyboards/kprepublic/jj4x4/info.json +++ b/keyboards/kprepublic/jj4x4/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x4B50", "pid": "0x0044", - "device_version": "2.0.0" + "device_version": "2.0.0", + "max_power": 100 }, "matrix_pins": { "cols": ["A1", "A0", "A2", "A3"], -- cgit v1.2.3