aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spaghetti-monster/anduril/ramp-mode.c3
1 files changed, 2 insertions, 1 deletions
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