summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q1/iso_encoder/iso_encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/q1/iso_encoder/iso_encoder.c')
-rw-r--r--keyboards/keychron/q1/iso_encoder/iso_encoder.c4
1 files changed, 2 insertions, 2 deletions
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