summaryrefslogtreecommitdiff
path: root/quantum/led_matrix/animations/solid_anim.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/led_matrix/animations/solid_anim.h')
-rw-r--r--quantum/led_matrix/animations/solid_anim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/led_matrix/animations/solid_anim.h b/quantum/led_matrix/animations/solid_anim.h
index 4c9e43c581..c728dbcc98 100644
--- a/quantum/led_matrix/animations/solid_anim.h
+++ b/quantum/led_matrix/animations/solid_anim.h
@@ -9,7 +9,7 @@ bool SOLID(effect_params_t* params) {
LED_MATRIX_TEST_LED_FLAGS();
led_matrix_set_value(i, val);
}
- return led_max < DRIVER_LED_TOTAL;
+ return led_matrix_check_finished_leds(led_max);
}
#endif // LED_MATRIX_CUSTOM_EFFECT_IMPLS