From d92dd18affa01dff00a99272f8022665bec881d9 Mon Sep 17 00:00:00 2001 From: Hadinger Date: Wed, 20 Nov 2019 22:33:35 +0100 Subject: [PATCH] Change minimum sleep to 10 milliseconds --- tasmota/xdrv_04_light.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/xdrv_04_light.ino b/tasmota/xdrv_04_light.ino index d83120217..b45be6523 100644 --- a/tasmota/xdrv_04_light.ino +++ b/tasmota/xdrv_04_light.ino @@ -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 }