summaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix/animations/alpha_mods_anim.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/rgb_matrix/animations/alpha_mods_anim.h')
-rw-r--r--quantum/rgb_matrix/animations/alpha_mods_anim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgb_matrix/animations/alpha_mods_anim.h b/quantum/rgb_matrix/animations/alpha_mods_anim.h
index 3f2c9b799a..b8f5072681 100644
--- a/quantum/rgb_matrix/animations/alpha_mods_anim.h
+++ b/quantum/rgb_matrix/animations/alpha_mods_anim.h
@@ -19,7 +19,7 @@ bool ALPHAS_MODS(effect_params_t* params) {
rgb_matrix_set_color(i, rgb1.r, rgb1.g, rgb1.b);
}
}
- return led_max < DRIVER_LED_TOTAL;
+ return rgb_matrix_check_finished_leds(led_max);
}
# endif // RGB_MATRIX_CUSTOM_EFFECT_IMPLS