Change minimum sleep to 10 milliseconds

This commit is contained in:
Hadinger 2019-11-20 22:33:35 +01:00
parent 62b213897f
commit d92dd18aff
1 changed files with 2 additions and 2 deletions

View File

@ -1617,8 +1617,8 @@ void LightAnimate(void)
}
}
else {
if (Settings.sleep > 50) {
sleep = 50; // set a minimal value of 50 milliseconds to ensure that animations are smooth
if (Settings.sleep > 10) {
sleep = 10; // set a minimal value of 50 milliseconds to ensure that animations are smooth
} else {
sleep = Settings.sleep; // or keep the current sleep if it's lower than 50
}