summaryrefslogtreecommitdiffstats
path: root/quantum/led_matrix/animations/breathing_anim.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/led_matrix/animations/breathing_anim.h')
-rw-r--r--quantum/led_matrix/animations/breathing_anim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/led_matrix/animations/breathing_anim.h b/quantum/led_matrix/animations/breathing_anim.h
index e3f600c45c..d9cc2de23b 100644
--- a/quantum/led_matrix/animations/breathing_anim.h
+++ b/quantum/led_matrix/animations/breathing_anim.h
@@ -12,7 +12,7 @@ bool BREATHING(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