From 6c40a4605793d29d1bae07401006287300c8349d Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Sun, 20 Nov 2022 14:30:40 +0000 Subject: Fixup keychron/q5 (#19119) --- keyboards/keychron/q5/iso/config.h | 2 +- keyboards/keychron/q5/iso/iso.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/keychron/q5/iso') diff --git a/keyboards/keychron/q5/iso/config.h b/keyboards/keychron/q5/iso/config.h index 751a45711f..df775f11f1 100644 --- a/keyboards/keychron/q5/iso/config.h +++ b/keyboards/keychron/q5/iso/config.h @@ -19,7 +19,7 @@ /* RGB Matrix Configuration */ #define DRIVER_1_LED_TOTAL 55 #define DRIVER_2_LED_TOTAL 46 -#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 53 diff --git a/keyboards/keychron/q5/iso/iso.c b/keyboards/keychron/q5/iso/iso.c index 221dd7b78a..b57474f535 100644 --- a/keyboards/keychron/q5/iso/iso.c +++ b/keyboards/keychron/q5/iso/iso.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 -- cgit v1.2.3