From 780ea8f738710324259cebb1d2034cc8cb2918ba Mon Sep 17 00:00:00 2001 From: Ollo Date: Tue, 16 Mar 2021 22:12:54 +0100 Subject: [PATCH] Fixed debug output --- simulation/src/de/c3ma/ollo/mockup/ESP8266Tmr.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulation/src/de/c3ma/ollo/mockup/ESP8266Tmr.java b/simulation/src/de/c3ma/ollo/mockup/ESP8266Tmr.java index a57e750..6432075 100644 --- a/simulation/src/de/c3ma/ollo/mockup/ESP8266Tmr.java +++ b/simulation/src/de/c3ma/ollo/mockup/ESP8266Tmr.java @@ -105,7 +105,7 @@ public class ESP8266Tmr extends TwoArgFunction { final int delay = varargs.arg(2).toint(); final LuaValue code = varargs.arg(4); 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); }