mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 11:46:31 +00:00
Change minimum sleep to 10 milliseconds
This commit is contained in:
parent
62b213897f
commit
d92dd18aff
@ -1617,8 +1617,8 @@ void LightAnimate(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (Settings.sleep > 50) {
|
if (Settings.sleep > 10) {
|
||||||
sleep = 50; // set a minimal value of 50 milliseconds to ensure that animations are smooth
|
sleep = 10; // set a minimal value of 50 milliseconds to ensure that animations are smooth
|
||||||
} else {
|
} else {
|
||||||
sleep = Settings.sleep; // or keep the current sleep if it's lower than 50
|
sleep = Settings.sleep; // or keep the current sleep if it's lower than 50
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user