Skip to content

Commit

Permalink
Fixup keychron/q1/iso_encoder (#19006)
Browse files Browse the repository at this point in the history
  • Loading branch information
waffle87 authored Nov 8, 2022
1 parent b567622 commit f7df771
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion keyboards/keychron/q1/iso_encoder/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
4 changes: 2 additions & 2 deletions keyboards/keychron/q1/iso_encoder/iso_encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -147,4 +147,4 @@ led_config_t g_led_config = {
}
};

#endif // RGB_MATRIX_ENABLE
#endif // RGB_MATRIX_ENABLE

0 comments on commit f7df771

Please sign in to comment.