aboutsummaryrefslogtreecommitdiff
path: root/quantum/led_matrix_animations/solid_splash_anim.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/led_matrix_animations/solid_splash_anim.h')
-rw-r--r--quantum/led_matrix_animations/solid_splash_anim.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/quantum/led_matrix_animations/solid_splash_anim.h b/quantum/led_matrix_animations/solid_splash_anim.h
index 3e9046640..4f6ba3d34 100644
--- a/quantum/led_matrix_animations/solid_splash_anim.h
+++ b/quantum/led_matrix_animations/solid_splash_anim.h
@@ -18,17 +18,13 @@ uint8_t SOLID_SPLASH_math(uint8_t val, int16_t dx, int16_t dy, uint8_t dist, uin
18} 18}
19 19
20# ifndef DISABLE_LED_MATRIX_SOLID_SPLASH 20# ifndef DISABLE_LED_MATRIX_SOLID_SPLASH
21bool SOLID_SPLASH(effect_params_t* params) { 21bool SOLID_SPLASH(effect_params_t* params) { return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_SPLASH_math); }
22 return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_SPLASH_math);
23}
24# endif 22# endif
25 23
26# ifndef DISABLE_LED_MATRIX_SOLID_MULTISPLASH 24# ifndef DISABLE_LED_MATRIX_SOLID_MULTISPLASH
27bool SOLID_MULTISPLASH(effect_params_t* params) { 25bool SOLID_MULTISPLASH(effect_params_t* params) { return effect_runner_reactive_splash(0, params, &SOLID_SPLASH_math); }
28 return effect_runner_reactive_splash(0, params, &SOLID_SPLASH_math);
29}
30# endif 26# endif
31 27
32# endif // LED_MATRIX_CUSTOM_EFFECT_IMPLS 28# endif // LED_MATRIX_CUSTOM_EFFECT_IMPLS
33# endif // !defined(DISABLE_LED_MATRIX_SPLASH) && !defined(DISABLE_LED_MATRIX_MULTISPLASH) 29# endif // !defined(DISABLE_LED_MATRIX_SPLASH) && !defined(DISABLE_LED_MATRIX_MULTISPLASH)
34#endif // LED_MATRIX_KEYREACTIVE_ENABLED 30#endif // LED_MATRIX_KEYREACTIVE_ENABLED