From 1755c9ef5a28a781dcdcc30a4218237bd1195f89 Mon Sep 17 00:00:00 2001 From: Ollo Date: Wed, 14 Dec 2022 20:58:53 +0100 Subject: [PATCH] Telnet server is not started, if webserver is prepared --- main.lua | 4 ++++ webpage.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 +