diff options
| author | Selene ToyKeeper | 2023-09-08 18:28:52 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-09-08 18:28:52 -0600 |
| commit | 5de8ed98098d47647b403d9c78e217490922b3a7 (patch) | |
| tree | aa836135574d7b86e974839cbe4f9b711189aa42 /spaghetti-monster | |
| parent | renamed wurkkos-ts10-rgb to wurkkos-ts10-rgbaux (diff) | |
| download | anduril-5de8ed98098d47647b403d9c78e217490922b3a7.tar.gz anduril-5de8ed98098d47647b403d9c78e217490922b3a7.tar.bz2 anduril-5de8ed98098d47647b403d9c78e217490922b3a7.zip | |
fixed soft start animation when using smooth ramp on turbo
(it would jump up the last few levels before, instead of being smooth)
Diffstat (limited to 'spaghetti-monster')
| -rw-r--r-- | spaghetti-monster/anduril/ramp-mode.c | 3 |
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 |
