summaryrefslogtreecommitdiff
path: root/quantum/led_matrix/animations/alpha_mods_anim.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/led_matrix/animations/alpha_mods_anim.h')
-rw-r--r--quantum/led_matrix/animations/alpha_mods_anim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/led_matrix/animations/alpha_mods_anim.h b/quantum/led_matrix/animations/alpha_mods_anim.h
index 14038cd082..c82b2aa388 100644
--- a/quantum/led_matrix/animations/alpha_mods_anim.h
+++ b/quantum/led_matrix/animations/alpha_mods_anim.h
@@ -17,7 +17,7 @@ bool ALPHAS_MODS(effect_params_t* params) {
led_matrix_set_value(i, val1);
}
}
- return led_max < DRIVER_LED_TOTAL;
+ return led_matrix_check_finished_leds(led_max);
}
# endif // LED_MATRIX_CUSTOM_EFFECT_IMPLS