aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-09-08 18:28:52 -0600
committerSelene ToyKeeper2023-09-08 18:28:52 -0600
commit5de8ed98098d47647b403d9c78e217490922b3a7 (patch)
treeaa836135574d7b86e974839cbe4f9b711189aa42
parentrenamed wurkkos-ts10-rgb to wurkkos-ts10-rgbaux (diff)
downloadanduril-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)
-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
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.