Update xdrv_10_scripter.ino

This commit is contained in:
gemu2015 2020-06-17 16:19:33 +02:00
parent 1aa20baf92
commit c18977f655
1 changed files with 1 additions and 1 deletions

View File

@ -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<glob_script_mem.numvars; count++) {
if (vtp[count].bits.is_timer) {