summaryrefslogtreecommitdiff
path: root/quantum/led_matrix/animations/runners/effect_runner_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/led_matrix/animations/runners/effect_runner_i.h')
-rw-r--r--quantum/led_matrix/animations/runners/effect_runner_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/led_matrix/animations/runners/effect_runner_i.h b/quantum/led_matrix/animations/runners/effect_runner_i.h
index b3015759be..f6f8c0dee0 100644
--- a/quantum/led_matrix/animations/runners/effect_runner_i.h
+++ b/quantum/led_matrix/animations/runners/effect_runner_i.h
@@ -10,5 +10,5 @@ bool effect_runner_i(effect_params_t* params, i_f effect_func) {
LED_MATRIX_TEST_LED_FLAGS();
led_matrix_set_value(i, effect_func(led_matrix_eeconfig.val, i, time));
}
- return led_max < DRIVER_LED_TOTAL;
+ return led_matrix_check_finished_leds(led_max);
}