diff --git a/WifiControlSensor/WebServer.ino b/WifiControlSensor/WebServer.ino
index cd77263..fa6f716 100644
--- a/WifiControlSensor/WebServer.ino
+++ b/WifiControlSensor/WebServer.ino
@@ -1,17 +1,8 @@
const int gpioWebConf[] = CONFIG_WEB_CONTROLLED_GPIO;
-void WebHandleRoot() {
- String gpioWeb = "";
+String gpioControlHTML = "";
- if (NB_ELEMENTS(gpioWebConf) > 0){
- gpioWeb += "
";
- }
+void WebHandleRoot() {
server.send(200, "text/html",
""
@@ -29,7 +20,7 @@ void WebHandleRoot() {
#ifdef CONFIG_ENABLE_DRY_SENSOR
"Dryness " + String((dryness*100)/1024) + "%
"
#endif
- "" + gpioWeb + "" + gpioControlHTML + "