From 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Feb 2023 08:37:57 +1100 Subject: Move backlight config to data driven (#19910) --- keyboards/8pack/config.h | 2 -- keyboards/8pack/info.json | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'keyboards/8pack') diff --git a/keyboards/8pack/config.h b/keyboards/8pack/config.h index 5be5e67374..fe5d7a4982 100644 --- a/keyboards/8pack/config.h +++ b/keyboards/8pack/config.h @@ -6,8 +6,6 @@ /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_LEVELS 8 - // ws2812 options #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to #define RGBLED_NUM 8 // number of LEDs diff --git a/keyboards/8pack/info.json b/keyboards/8pack/info.json index 2c7a34d487..3e6b556fae 100644 --- a/keyboards/8pack/info.json +++ b/keyboards/8pack/info.json @@ -8,7 +8,8 @@ "pid": "0x2171" }, "backlight": { - "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"] + "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"], + "levels": 8 }, "processor": "atmega32u4", "bootloader": "caterina", -- cgit v1.2.3