From 9c5d3f501d4cd065b3987eb5395e0a0cafdcbf2e Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Sun, 22 Jul 2018 23:16:05 -0300 Subject: [PATCH] Make KNX WEB MENU Optional --- sonoff/xdrv_02_webserver.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sonoff/xdrv_02_webserver.ino b/sonoff/xdrv_02_webserver.ino index 12ed741ac..8418f3ce9 100644 --- a/sonoff/xdrv_02_webserver.ino +++ b/sonoff/xdrv_02_webserver.ino @@ -204,7 +204,9 @@ const char HTTP_BTN_MENU_MQTT[] PROGMEM = ""; const char HTTP_BTN_MENU4[] PROGMEM = #ifdef USE_KNX +#ifdef USE_KNX_WEB_MENU "
" +#endif // USE_KNX_WEB_MENU #endif // USE_KNX "
" "
" @@ -391,7 +393,9 @@ void StartWebserver(int type, IPAddress ipweb) #endif // USE_DOMOTICZ } #ifdef USE_KNX +#ifdef USE_KNX_WEB_MENU WebServer->on("/kn", HandleKNXConfiguration); +#endif // USE_KNX_WEB_MENU #endif // USE_KNX WebServer->on("/lg", HandleLoggingConfiguration); WebServer->on("/co", HandleOtherConfiguration);