adapted code to be executable in the simulation

This commit is contained in:
Ollo 2021-03-17 21:52:44 +01:00
parent 07e4ac2c43
commit 5f8aa3c221

View File

@ -33,7 +33,7 @@ end
initTimer = tmr.create() initTimer = tmr.create()
initTimer:register(5000, tmr.ALARM_SINGLE, function (t) initTimer:register(5000, tmr.ALARM_SINGLE, function (t)
bootledtimer:unregister() bootledtimer:unregister()
t:unregister() initTimer:unregister()
initTimer=nil initTimer=nil
bootledtimer=nil bootledtimer=nil
local modlist = { "timecore" , "displayword" } local modlist = { "timecore" , "displayword" }