Better not to start server automatically

This commit is contained in:
Marcos Kirsch 2015-07-19 12:22:04 -05:00
parent 820437a98a
commit 69c7f385b8

View File

@ -62,11 +62,11 @@ tmr.alarm(0, 3000, 1, function()
joinCounter = joinCounter +1 joinCounter = joinCounter +1
else else
if joinCounter == joinMaxAttempts then if joinCounter == joinMaxAttempts then
print('Faild to connect to WiFi Access Point.') print('Failed to connect to WiFi Access Point.')
else else
print('IP: ',ip) print('IP: ',ip)
-- Uncomment to automatically start the server in port 80 -- Uncomment to automatically start the server in port 80
dofile("httpserver.lc")(80) --dofile("httpserver.lc")(80)
end end
tmr.stop(0) tmr.stop(0)
joinCounter = nil joinCounter = nil