From 5de8ed98098d47647b403d9c78e217490922b3a7 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Fri, 8 Sep 2023 18:28:52 -0600 Subject: fixed soft start animation when using smooth ramp on turbo (it would jump up the last few levels before, instead of being smooth) --- spaghetti-monster/anduril/ramp-mode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spaghetti-monster') diff --git a/spaghetti-monster/anduril/ramp-mode.c b/spaghetti-monster/anduril/ramp-mode.c index c4c995f..87bfe63 100644 --- a/spaghetti-monster/anduril/ramp-mode.c +++ b/spaghetti-monster/anduril/ramp-mode.c @@ -680,7 +680,8 @@ void set_level_and_therm_target(uint8_t level) { target_level = level; #endif #ifdef USE_SMOOTH_STEPS - if (cfg.smooth_steps_style && cfg.ramp_style) + if (smooth_steps_in_progress + || (cfg.smooth_steps_style && cfg.ramp_style)) set_level_smooth(level, 4); else #endif -- cgit v1.2.3