diff options
author | jack <0x6a73@protonmail.com> | 2022-10-12 21:09:10 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 14:09:10 +1100 |
commit | 3f4fd85dc7f91d008c778e516dc261b5b2e72b55 (patch) | |
tree | 3189f0cbf8eab0a0d4f0075c2ef894ece0063a8e /keyboards/keychron/q3/ansi | |
parent | 563a59d3c732a4fdf4ef256b07b1e92c8951a032 (diff) |
Fixup keychron/q3 (#18687)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/keychron/q3/ansi')
-rw-r--r-- | keyboards/keychron/q3/ansi/ansi.c | 2 | ||||
-rw-r--r-- | keyboards/keychron/q3/ansi/config.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/keychron/q3/ansi/ansi.c b/keyboards/keychron/q3/ansi/ansi.c index 46ebe44144..beff3bc5ec 100644 --- a/keyboards/keychron/q3/ansi/ansi.c +++ b/keyboards/keychron/q3/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/q3/ansi/config.h b/keyboards/keychron/q3/ansi/config.h index 8535f02cc2..f7c1c16931 100644 --- a/keyboards/keychron/q3/ansi/config.h +++ b/keyboards/keychron/q3/ansi/config.h @@ -26,7 +26,7 @@ /* RGB Matrix Configuration */ #define DRIVER_1_LED_TOTAL 48 #define DRIVER_2_LED_TOTAL 39 -#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) #define CKLED2001_CURRENT_TUNE \ { 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44 } |