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/handwired/brain/config.h | 3 --- keyboards/handwired/brain/info.json | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'keyboards/handwired/brain') diff --git a/keyboards/handwired/brain/config.h b/keyboards/handwired/brain/config.h index 7f7a49ed93..61dddcd9c2 100644 --- a/keyboards/handwired/brain/config.h +++ b/keyboards/handwired/brain/config.h @@ -44,9 +44,6 @@ along with this program. If not, see . #define RGBLED_NUM 28 // Number of LEDs - -#define RGBLIGHT_LIMIT_VAL 120 - #define RGBLIGHT_SPLIT /* diff --git a/keyboards/handwired/brain/info.json b/keyboards/handwired/brain/info.json index 77506e8746..0454b36669 100644 --- a/keyboards/handwired/brain/info.json +++ b/keyboards/handwired/brain/info.json @@ -19,6 +19,9 @@ "ws2812": { "pin": "D3" }, + "rgblight": { + "max_brightness": 120 + }, "split": { "soft_serial_pin": "D0", "bootmagic": { -- cgit v1.2.3