Merge pull request #2421 from jedrzejj/dev
Fixed missing wifi module name.
This commit is contained in:
commit
fd8181d75c
|
@ -144,7 +144,7 @@ return {
|
|||
wifi.sta.config { ssid = ssid, pwd = pwd, save = false }
|
||||
end
|
||||
tmr.alarm(0, 500, tmr.ALARM_AUTO, function()
|
||||
if (sta.status() == wifi.STA_GOTIP) then
|
||||
if (wifi.sta.status() == wifi.STA_GOTIP) then
|
||||
tmr.unregister(0)
|
||||
print("Welcome to NodeMCU world", node.heap(), wifi.sta.getip())
|
||||
net.createServer(net.TCP, 180):listen(port or 2323, telnet_listener)
|
||||
|
|
Loading…
Reference in New Issue