From 9c0ce80d7e7d266cfd2d8fb0d92889db06ea95ff Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 21 Feb 2023 12:05:40 +1100 Subject: Move backlight config to data driven, part 1 (#19887) --- keyboards/b_sides/rev41lp/config.h | 2 -- keyboards/b_sides/rev41lp/info.json | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'keyboards/b_sides/rev41lp') diff --git a/keyboards/b_sides/rev41lp/config.h b/keyboards/b_sides/rev41lp/config.h index f5905efdd4..c843c89eef 100644 --- a/keyboards/b_sides/rev41lp/config.h +++ b/keyboards/b_sides/rev41lp/config.h @@ -24,6 +24,4 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW #define BACKLIGHT_PIN B6 -#define BACKLIGHT_ON_STATE 1 #define BACKLIGHT_LEVELS 7 -#define BACKLIGHT_LIMIT_VAL 150 diff --git a/keyboards/b_sides/rev41lp/info.json b/keyboards/b_sides/rev41lp/info.json index a587172d04..9b1a1c9e9c 100644 --- a/keyboards/b_sides/rev41lp/info.json +++ b/keyboards/b_sides/rev41lp/info.json @@ -8,6 +8,9 @@ "pid": "0x5F10", "device_version": "0.0.1" }, + "backlight": { + "max_brightness": 150 + }, "processor": "atmega32u4", "bootloader": "caterina", "layout_aliases": { -- cgit v1.2.3