From 7445b20a9597f7a4056927067b9352b69c425faf Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Mon, 9 Apr 2018 22:38:49 -0300 Subject: [PATCH] Update to new API version of ESP-KNX-IP --- sonoff/webserver.ino | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sonoff/webserver.ino b/sonoff/webserver.ino index 183decd71..99965c900 100644 --- a/sonoff/webserver.ino +++ b/sonoff/webserver.ino @@ -25,10 +25,6 @@ * Based on source by AlexT (https://github.com/tzapu) \*********************************************************************************************/ -#ifdef USE_KNX -#include // Include KNX IP library -#endif // USE_KNX - #define STR_HELPER(x) #x #define STR(x) STR_HELPER(x) @@ -393,7 +389,7 @@ void StartWebserver(int type, IPAddress ipweb) #endif // USE_EMULATION WebServer->onNotFound(HandleNotFound); #ifdef USE_KNX - knx.start(WebServer, false); // Start knx and pass the webserver object to be used by UDP. False is for not showing the library webpage. + KNXStart(); #endif // USE_KNX } reset_web_log_flag = 0;