Change DRIVER_LED_COUNT to {LED,RGB}_MATRIX_LED_COUNT (#18399)

This commit is contained in:
Ryan 2022-09-23 22:46:23 +10:00 committed by GitHub
parent d967de0df7
commit 36c410592d
Failed to generate hash of commit
577 changed files with 836 additions and 831 deletions

View file

@ -96,7 +96,7 @@ static void init(void) {
# endif
# endif
for (int index = 0; index < DRIVER_LED_TOTAL; index++) {
for (int index = 0; index < LED_MATRIX_LED_COUNT; index++) {
# if defined(IS31FL3731)
IS31FL3731_set_led_control_register(index, true);
# elif defined(IS31FL3733)