diff options
author | jack <0x6A73@pm.me> | 2022-11-08 12:51:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-09 06:51:04 +1100 |
commit | f7df771e703d47b88a099c1ef6624be6b3b29219 (patch) | |
tree | 5c16a737f9ab0168a3f27eae19b44f050b2e8097 /keyboards | |
parent | b567622d59b393ae0afc0a87b3a185c39aa07755 (diff) |
Fixup keychron/q1/iso_encoder (#19006)
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/keychron/q1/iso_encoder/config.h | 2 | ||||
-rw-r--r-- | keyboards/keychron/q1/iso_encoder/iso_encoder.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/keychron/q1/iso_encoder/config.h b/keyboards/keychron/q1/iso_encoder/config.h index 089ea19973..984b3c77d0 100644 --- a/keyboards/keychron/q1/iso_encoder/config.h +++ b/keyboards/keychron/q1/iso_encoder/config.h @@ -31,7 +31,7 @@ /* RGB Matrix Configuration */ #define DRIVER_1_LED_TOTAL 59 #define DRIVER_2_LED_TOTAL 24 -#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 { E6 } diff --git a/keyboards/keychron/q1/iso_encoder/iso_encoder.c b/keyboards/keychron/q1/iso_encoder/iso_encoder.c index 0106084973..c6563ad318 100644 --- a/keyboards/keychron/q1/iso_encoder/iso_encoder.c +++ b/keyboards/keychron/q1/iso_encoder/iso_encoder.c @@ -18,7 +18,7 @@ #ifdef RGB_MATRIX_ENABLE -const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { +const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = { /* Refer to IS31 manual for these locations * driver * | R location @@ -147,4 +147,4 @@ led_config_t g_led_config = { } }; -#endif // RGB_MATRIX_ENABLE
\ No newline at end of file +#endif // RGB_MATRIX_ENABLE |