From c18977f65508d8811b51a4d0e9a090ad00b17a76 Mon Sep 17 00:00:00 2001 From: gemu2015 Date: Wed, 17 Jun 2020 16:19:33 +0200 Subject: [PATCH] Update xdrv_10_scripter.ino --- tasmota/xdrv_10_scripter.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xdrv_10_scripter.ino b/tasmota/xdrv_10_scripter.ino index 208f7211c..921433a6d 100755 --- a/tasmota/xdrv_10_scripter.ino +++ b/tasmota/xdrv_10_scripter.ino @@ -397,7 +397,7 @@ void ScriptEverySecond(void) { if (bitRead(Settings.rule_enabled, 0)) { struct T_INDEX *vtp=glob_script_mem.type; - float delta=(millis()-script_lastmillis)/1000; + float delta=(millis()-script_lastmillis)/1000.0; script_lastmillis=millis(); for (uint8_t count=0; count