diff options
author | jack <0x6A73@pm.me> | 2022-11-20 14:30:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-20 14:30:40 +0000 |
commit | 6c40a4605793d29d1bae07401006287300c8349d (patch) | |
tree | ddbce65b2292ee02f40e188d13e3527d0fe28a7a /keyboards/keychron/q5/ansi | |
parent | 543a863766192eab626492ec4f48641743ffc797 (diff) |
Fixup keychron/q5 (#19119)
Diffstat (limited to 'keyboards/keychron/q5/ansi')
-rw-r--r-- | keyboards/keychron/q5/ansi/ansi.c | 2 | ||||
-rw-r--r-- | keyboards/keychron/q5/ansi/config.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/keychron/q5/ansi/ansi.c b/keyboards/keychron/q5/ansi/ansi.c index 8efed462f7..6aeb46c07d 100644 --- a/keyboards/keychron/q5/ansi/ansi.c +++ b/keyboards/keychron/q5/ansi/ansi.c @@ -18,7 +18,7 @@ #ifdef RGB_MATRIX_ENABLE -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/q5/ansi/config.h b/keyboards/keychron/q5/ansi/config.h index 55e4ec41ca..9ed58dd522 100644 --- a/keyboards/keychron/q5/ansi/config.h +++ b/keyboards/keychron/q5/ansi/config.h @@ -19,7 +19,7 @@ /* RGB Matrix Configuration */ #define DRIVER_1_LED_TOTAL 55 #define DRIVER_2_LED_TOTAL 45 -#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 54 |