Fixed debug output

This commit is contained in:
Ollo 2021-03-16 22:12:54 +01:00
parent 87c157fd10
commit 780ea8f738

View File

@ -105,7 +105,7 @@ public class ESP8266Tmr extends TwoArgFunction {
final int delay = varargs.arg(2).toint(); final int delay = varargs.arg(2).toint();
final LuaValue code = varargs.arg(4); final LuaValue code = varargs.arg(4);
dynamicThreads[dynIndex] = new LuaThreadTmr(dynIndex, code, (endlessloop.contains("AUTO")), Math.max(delay / gTimingFactor, 1)); dynamicThreads[dynIndex] = new LuaThreadTmr(dynIndex, code, (endlessloop.contains("AUTO")), Math.max(delay / gTimingFactor, 1));
System.out.println("[TMR] DynTimer" + dynamicThreadCounter + " registered"); System.out.println("[TMR] DynTimer" + dynIndex + " registered");
} }
return LuaValue.valueOf(true); return LuaValue.valueOf(true);
} }