summaryrefslogtreecommitdiff
path: root/quantum/led_matrix/animations/runners/effect_runner_reactive.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/led_matrix/animations/runners/effect_runner_reactive.h')
-rw-r--r--quantum/led_matrix/animations/runners/effect_runner_reactive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/led_matrix/animations/runners/effect_runner_reactive.h b/quantum/led_matrix/animations/runners/effect_runner_reactive.h
index 4369ea8c49..be3090aa53 100644
--- a/quantum/led_matrix/animations/runners/effect_runner_reactive.h
+++ b/quantum/led_matrix/animations/runners/effect_runner_reactive.h
@@ -22,7 +22,7 @@ bool effect_runner_reactive(effect_params_t* params, reactive_f effect_func) {
uint16_t offset = scale16by8(tick, led_matrix_eeconfig.speed);
led_matrix_set_value(i, effect_func(led_matrix_eeconfig.val, offset));
}
- return led_max < DRIVER_LED_TOTAL;
+ return led_matrix_check_finished_leds(led_max);
}
#endif // LED_MATRIX_KEYREACTIVE_ENABLED