From 5f8aa3c221b60615270330f3998e8acea87b9434 Mon Sep 17 00:00:00 2001 From: Ollo Date: Wed, 17 Mar 2021 21:52:44 +0100 Subject: [PATCH] adapted code to be executable in the simulation --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index c1a5eac..e8cdc94 100644 --- a/init.lua +++ b/init.lua @@ -33,7 +33,7 @@ end initTimer = tmr.create() initTimer:register(5000, tmr.ALARM_SINGLE, function (t) bootledtimer:unregister() - t:unregister() + initTimer:unregister() initTimer=nil bootledtimer=nil local modlist = { "timecore" , "displayword" }