diff --git a/main.lua b/main.lua index f898542..12437a3 100644 --- a/main.lua +++ b/main.lua @@ -130,11 +130,15 @@ function normalOperation() end setupCounter=setupCounter-1 elseif (setupCounter > 2) then + if (web == nil) then if (startTelnetServer ~= nil) then startTelnetServer() else displayTime() end + else + print("webserver supplant telnet") + end setupCounter=setupCounter-1 elseif ( (alive % 120) == 0) then -- sync the time every 5 minutes diff --git a/webpage.html b/webpage.html index 2993518..15f0dcd 100644 --- a/webpage.html +++ b/webpage.html @@ -54,7 +54,7 @@ Please note that all settings are mandatory

Foreground Color Minute4LED Color for first single minute Threequarter3/4 instead of 1/4 before Adjust brightnessDim brightness automatically -WebserverActivate Webserver +