diff options
author | Joel Challis <[email protected]> | 2024-01-16 01:16:31 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-16 01:16:31 +0000 |
commit | e1f59a6efc793522155db35155f6fbdc0504d504 (patch) | |
tree | 07538fce2ce1f3c6a49895a8e04864615f6490ab /keyboards/tkc/portico68v2/portico68v2.c | |
parent | e30d0e52871ce46e6f94d5535c1d60aa75668fe5 (diff) | |
download | qmk_firmware-e1f59a6efc793522155db35155f6fbdc0504d504.tar.gz qmk_firmware-e1f59a6efc793522155db35155f6fbdc0504d504.zip |
Migrate RGB Matrix config to info.json - TUVW (#22910)
Diffstat (limited to 'keyboards/tkc/portico68v2/portico68v2.c')
-rw-r--r-- | keyboards/tkc/portico68v2/portico68v2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/tkc/portico68v2/portico68v2.c b/keyboards/tkc/portico68v2/portico68v2.c index 561b4f8d10..5c5f65f10d 100644 --- a/keyboards/tkc/portico68v2/portico68v2.c +++ b/keyboards/tkc/portico68v2/portico68v2.c @@ -133,13 +133,13 @@ bool rgb_matrix_indicators_kb(void) { return false; } if (host_keyboard_led_state().caps_lock) { - for (uint8_t i = 0; i < DRIVER_1_LED_TOTAL; i++) { + for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; i++) { rgb_matrix_set_color(i, 0xFF, 0xFF, 0xFF); } } else { if (rgb_matrix_get_flags() == LED_FLAG_NONE) { - for (uint8_t i = 0; i < DRIVER_1_LED_TOTAL; i++) { + for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; i++) { rgb_matrix_set_color(i, 0, 0, 0); } } |