diff --git a/examples/telnet.lua b/examples/telnet.lua index 482fcb41..f8ed7340 100644 --- a/examples/telnet.lua +++ b/examples/telnet.lua @@ -31,7 +31,7 @@ function startServer() print("===Now,Using xcon_tcp logon and input LUA.====") end -tmr.alarm(1000, 1, function() +tmr.alarm(0, 1000, 1, function() if wifi.sta.getip()=="0.0.0.0" then print("Connect AP, Waiting...") else