Commit 85f4b7bd authored by Jorge's avatar Jorge
Browse files

set thread name for main loop and list threads after loading

parent ae1badd3
......@@ -58,7 +58,6 @@ do
end
-- We must keep looping for reacting to state timeouts
local step = nvs.read("ahsm", "timestep", 10) or 10
print('main_ahsm timestep:', step)
......@@ -67,5 +66,7 @@ thread.start( function()
hsm.loop()
tmr.sleepms(step)
end
end)
end, nil, nil, nil, 'ahsm_loop')
print 'ahsm started:'
thread.list(false, false, true)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment