summaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix/animations/runners/effect_runner_reactive.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/rgb_matrix/animations/runners/effect_runner_reactive.h')
-rw-r--r--quantum/rgb_matrix/animations/runners/effect_runner_reactive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgb_matrix/animations/runners/effect_runner_reactive.h b/quantum/rgb_matrix/animations/runners/effect_runner_reactive.h
index 75b7c0df4e..d5c1a26cef 100644
--- a/quantum/rgb_matrix/animations/runners/effect_runner_reactive.h
+++ b/quantum/rgb_matrix/animations/runners/effect_runner_reactive.h
@@ -23,7 +23,7 @@ bool effect_runner_reactive(effect_params_t* params, reactive_f effect_func) {
RGB rgb = rgb_matrix_hsv_to_rgb(effect_func(rgb_matrix_config.hsv, offset));
rgb_matrix_set_color(i, rgb.r, rgb.g, rgb.b);
}
- return led_max < DRIVER_LED_TOTAL;
+ return rgb_matrix_check_finished_leds(led_max);
}
#endif // RGB_MATRIX_KEYREACTIVE_ENABLED