summaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix/animations/runners/effect_runner_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/rgb_matrix/animations/runners/effect_runner_i.h')
-rw-r--r--quantum/rgb_matrix/animations/runners/effect_runner_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgb_matrix/animations/runners/effect_runner_i.h b/quantum/rgb_matrix/animations/runners/effect_runner_i.h
index 1881cd6c60..b4de2992b6 100644
--- a/quantum/rgb_matrix/animations/runners/effect_runner_i.h
+++ b/quantum/rgb_matrix/animations/runners/effect_runner_i.h
@@ -11,5 +11,5 @@ bool effect_runner_i(effect_params_t* params, i_f effect_func) {
RGB rgb = rgb_matrix_hsv_to_rgb(effect_func(rgb_matrix_config.hsv, i, time));
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);
}