Commit 888fbdf3 authored by Damian's avatar Damian
Browse files

ver 0.9.5 reports error in tmr.alarm()

There was no alarm ID.
parent 94aa3bef
......@@ -29,11 +29,11 @@ function startServer()
print("===Now, logon and input LUA.====")
end
tmr.alarm(1000, 1, function()
tmr.alarm(1, 1000, 1, function()
if wifi.sta.getip()=="0.0.0.0" then
print("Connect AP, Waiting...")
else
startServer()
tmr.stop()
tmr.stop(1)
end
end)
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