summaryrefslogtreecommitdiffstats
path: root/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-11-16 05:59:09 +1100
committerGitHub <noreply@github.com>2022-11-16 05:59:09 +1100
commit81a6407dcaf32e4b2115daccc7c0658add4de7d4 (patch)
treef07cbed72f581f07d3aeec31f963db0f09b27d29 /keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c
parent5dabc1b387d3c6d0ea39c6ff99ea9844576c0c87 (diff)
Update more `DRIVER_LED_TOTAL` defines to `RGB_MATRIX_LED_COUNT` (#19089)
Diffstat (limited to 'keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c')
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c b/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c
index f988956451..1949eeb150 100644
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c
+++ b/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c
@@ -73,7 +73,7 @@ const uint16_t PROGMEM keymaps[_END][MATRIX_ROWS][MATRIX_COLS] = {
#ifdef UNDERGLOW_DISABLE
void keyboard_pre_init_user(void) {
- for (int key_id = 0; key_id < DRIVER_LED_TOTAL; key_id++ ) {
+ for (int key_id = 0; key_id < RGB_MATRIX_LED_COUNT; key_id++ ) {
if (g_led_config.flags[key_id] == LED_FLAG_UNDERGLOW) {
g_led_config.flags[key_id] = LED_FLAG_NONE;
}