summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q0/rev_0130
diff options
context:
space:
mode:
authorjack <0x6A73@pm.me>2022-09-25 03:32:51 -0600
committerGitHub <noreply@github.com>2022-09-25 19:32:51 +1000
commitc7a65558ee70310b607393c4a69f1ef953f7b138 (patch)
tree6889042d0e9ca577a449ccec670ce7838497f0e8 /keyboards/keychron/q0/rev_0130
parentd69c7849b004e66c03dd9e8a53a1916c3c2b877b (diff)
Remove lingering `DRIVER_LED_TOTAL` references (#18475)
Diffstat (limited to 'keyboards/keychron/q0/rev_0130')
-rw-r--r--keyboards/keychron/q0/rev_0130/config.h2
-rw-r--r--keyboards/keychron/q0/rev_0130/rev_0130.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/keychron/q0/rev_0130/config.h b/keyboards/keychron/q0/rev_0130/config.h
index e7fabed664..126d636589 100644
--- a/keyboards/keychron/q0/rev_0130/config.h
+++ b/keyboards/keychron/q0/rev_0130/config.h
@@ -18,7 +18,7 @@
/* RGB Matrix Configuration */
#define DRIVER_1_LED_TOTAL 21
-#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
+#define RGB_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL
/* Enable num-lock LED */
#define NUM_LOCK_LED_INDEX 4
diff --git a/keyboards/keychron/q0/rev_0130/rev_0130.c b/keyboards/keychron/q0/rev_0130/rev_0130.c
index 468e3cf04f..2803239b53 100644
--- a/keyboards/keychron/q0/rev_0130/rev_0130.c
+++ b/keyboards/keychron/q0/rev_0130/rev_0130.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 CKLED manual for these locations
* driver
* | R location