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/halokeys/elemental75/config.h | 1 - keyboards/halokeys/elemental75/info.json | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/halokeys/elemental75') diff --git a/keyboards/halokeys/elemental75/config.h b/keyboards/halokeys/elemental75/config.h index fed1b7c458..c23763ee9b 100644 --- a/keyboards/halokeys/elemental75/config.h +++ b/keyboards/halokeys/elemental75/config.h @@ -18,7 +18,6 @@ #define TAP_CODE_DELAY 10 // tap_code function delay for register and unregister #define RGBLED_NUM 22 -#define RGBLIGHT_LIMIT_VAL 225 // value set lower than 255 since current draw is too high #define RGBLIGHT_SLEEP /* animations enabled */ diff --git a/keyboards/halokeys/elemental75/info.json b/keyboards/halokeys/elemental75/info.json index a97731b125..5f8bdb38a6 100644 --- a/keyboards/halokeys/elemental75/info.json +++ b/keyboards/halokeys/elemental75/info.json @@ -21,6 +21,9 @@ "ws2812": { "pin": "A10" }, + "rgblight": { + "max_brightness": 225 + }, "processor": "STM32F303", "bootloader": "stm32-dfu", "board": "QMK_PROTON_C", -- cgit v1.2.3