From f24e827ace2870b8e0e3a6d378df57cef3373a39 Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Sat, 7 Apr 2018 22:17:53 -0300 Subject: [PATCH] Update webserver.ino --- sonoff/webserver.ino | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sonoff/webserver.ino b/sonoff/webserver.ino index 7ed331f33..926e1bb67 100644 --- a/sonoff/webserver.ino +++ b/sonoff/webserver.ino @@ -203,7 +203,7 @@ const char HTTP_BTN_MENU_MQTT[] PROGMEM = ""; const char HTTP_BTN_MENU4[] PROGMEM = #ifdef USE_KNX - "
" + "
" #endif // USE_KNX "
" "
" @@ -393,7 +393,7 @@ void StartWebserver(int type, IPAddress ipweb) #endif // USE_EMULATION WebServer->onNotFound(HandleNotFound); #ifdef USE_KNX - knx.start(WebServer); // Start knx. The /knx link is automatically set inside the KNX library + knx.start(WebServer, false); // Start knx and pass the webserver object to be used by UDP. False is for not showing the library webpage. #endif // USE_KNX } reset_web_log_flag = 0; @@ -1123,6 +1123,11 @@ void HandleSaveSettings() break; #endif // USE_TIMERS_WEB #endif // USE_TIMERS +#ifdef USE_KNX + case 8: + KNX_Save_Settings(); + break; +#endif // USE_KNX #ifdef USE_DOMOTICZ case 4: DomoticzSaveSettings();