From 363bfdbfda5ea9fa996390920a9e8982535b76c8 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 27 May 2023 12:27:44 +1000 Subject: Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974) Co-authored-by: Nick Brassel --- keyboards/sofle/keyhive/config.h | 1 - keyboards/sofle/keyhive/info.json | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/sofle') diff --git a/keyboards/sofle/keyhive/config.h b/keyboards/sofle/keyhive/config.h index 80ad4912cb..9e36e1588e 100755 --- a/keyboards/sofle/keyhive/config.h +++ b/keyboards/sofle/keyhive/config.h @@ -33,7 +33,6 @@ #ifdef RGBLIGHT_ENABLE # define RGBLED_NUM 74 # define RGBLED_SPLIT {37,37} -# define RGBLIGHT_LIMIT_VAL 100 // LED Brightness, high power draw may exceed the USB limitations of 0.6A and cause a crash. # define RGBLIGHT_HUE_STEP 10 # define RGBLIGHT_SAT_STEP 17 # define RGBLIGHT_VAL_STEP 17 diff --git a/keyboards/sofle/keyhive/info.json b/keyboards/sofle/keyhive/info.json index b780213854..7a453b675e 100644 --- a/keyboards/sofle/keyhive/info.json +++ b/keyboards/sofle/keyhive/info.json @@ -9,6 +9,9 @@ "ws2812": { "pin": "D3" }, + "rgblight": { + "max_brightness": 100 + }, "matrix_pins": { "cols": ["B6", "B2", "B3", "B1", "F7", "F6", null], "rows": ["C6", "D7", "E6", "B4", "B5"] -- cgit v1.2.3