Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Santiago Ignacio Hitta Monteverde
firmware
Commits
85f4b7bd
Commit
85f4b7bd
authored
May 21, 2019
by
Jorge
Browse files
set thread name for main loop and list threads after loading
parent
ae1badd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/main_ahsm.lua
View file @
85f4b7bd
...
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment