From beda76a80f14c9d7fe1b51aa7f1e9fea060c78d1 Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Fri, 11 May 2018 12:11:08 -0300 Subject: [PATCH] Update support.ino --- sonoff/support.ino | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sonoff/support.ino b/sonoff/support.ino index 1bac8cf63..e56d7e540 100644 --- a/sonoff/support.ino +++ b/sonoff/support.ino @@ -36,8 +36,8 @@ byte oswatch_blocked_loop = 0; #endif // USE_WS2812_DMA #ifdef USE_KNX -bool KNX_Started = false; -#endif // USE_KNX +bool knx_started = false; +#endif // USE_KNX void OsWatchTicker() { @@ -827,19 +827,19 @@ void WifiCheck(uint8_t param) #endif // USE_EMULATION #endif // USE_WEBSERVER #ifdef USE_KNX - if (!KNX_Started && Settings.flag.knx_enabled) { + if (!knx_started && Settings.flag.knx_enabled) { KNXStart(); - KNX_Started = true; + knx_started = true; } -#endif // USE_KNX +#endif // USE_KNX } else { #if defined(USE_WEBSERVER) && defined(USE_EMULATION) UdpDisconnect(); #endif // USE_EMULATION mdns_begun = false; #ifdef USE_KNX - KNX_Started = false; -#endif // USE_KNX + knx_started = false; +#endif // USE_KNX } } }