From 7901ba431a4a6248aeb4b16c570e96ce44e56a42 Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Sun, 13 Nov 2022 15:49:06 -0700 Subject: Fixup keychron/q6 (#19066) --- keyboards/keychron/q6/ansi/ansi.c | 2 +- keyboards/keychron/q6/ansi/config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/keychron/q6/ansi') diff --git a/keyboards/keychron/q6/ansi/ansi.c b/keyboards/keychron/q6/ansi/ansi.c index dc27c9a82d..982996d347 100644 --- a/keyboards/keychron/q6/ansi/ansi.c +++ b/keyboards/keychron/q6/ansi/ansi.c @@ -20,7 +20,7 @@ // clang-format off -const ckled2001_led PROGMEM g_ckled2001_leds[DRIVER_LED_TOTAL] = { +const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = { /* Refer to IS31 manual for these locations * driver * | R location diff --git a/keyboards/keychron/q6/ansi/config.h b/keyboards/keychron/q6/ansi/config.h index 148f8d4c45..703da35636 100644 --- a/keyboards/keychron/q6/ansi/config.h +++ b/keyboards/keychron/q6/ansi/config.h @@ -27,7 +27,7 @@ /* RGB Matrix Configuration */ #define DRIVER_1_LED_TOTAL 60 #define DRIVER_2_LED_TOTAL 48 -#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) +#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) /* Enable caps-lock LED*/ #define CAPS_LOCK_LED_INDEX 61 -- cgit v1.2.3