diff options
author | jack <0x6A73@pm.me> | 2022-11-13 15:49:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 09:49:06 +1100 |
commit | 7901ba431a4a6248aeb4b16c570e96ce44e56a42 (patch) | |
tree | f6889f070e70d60b43fdda6eb4a9a8abf2f8cbcf /keyboards/keychron/q6/ansi_encoder | |
parent | a30964b3c5680a92154a9fe682a1d85e3ccd700e (diff) |
Fixup keychron/q6 (#19066)
Diffstat (limited to 'keyboards/keychron/q6/ansi_encoder')
-rw-r--r-- | keyboards/keychron/q6/ansi_encoder/ansi_encoder.c | 2 | ||||
-rw-r--r-- | keyboards/keychron/q6/ansi_encoder/config.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/keychron/q6/ansi_encoder/ansi_encoder.c b/keyboards/keychron/q6/ansi_encoder/ansi_encoder.c index bb1044bd09..6cf593dd25 100644 --- a/keyboards/keychron/q6/ansi_encoder/ansi_encoder.c +++ b/keyboards/keychron/q6/ansi_encoder/ansi_encoder.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_encoder/config.h b/keyboards/keychron/q6/ansi_encoder/config.h index 31d801430f..1949be399b 100644 --- a/keyboards/keychron/q6/ansi_encoder/config.h +++ b/keyboards/keychron/q6/ansi_encoder/config.h @@ -28,7 +28,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) /* Encoder Configuration */ #define ENCODERS_PAD_A { C14 } |