From 313d4b4152f0f8ebed8054fe18dec272e3cf7ed8 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Mon, 19 Jul 2021 00:33:15 +0200 Subject: [PATCH] Code cleanup --- src/sys/svc/hasp_http.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/sys/svc/hasp_http.cpp b/src/sys/svc/hasp_http.cpp index cf034d44..738f1181 100644 --- a/src/sys/svc/hasp_http.cpp +++ b/src/sys/svc/hasp_http.cpp @@ -2353,20 +2353,20 @@ void httpSetup() } //////////////////////////////////////////////////////////////////////////////////////////////////// -void httpReconnect() -{ - if(!http_config.enable) return; +// static void httpReconnect() +// { +// if(!http_config.enable) return; - if(webServerStarted) { - httpStop(); - } else -#if HASP_USE_WIFI > 0 && !defined(STM32F4xx) - if(WiFi.status() == WL_CONNECTED || WiFi.getMode() != WIFI_STA) -#endif - { - httpStart(); - } -} +// if(webServerStarted) { +// httpStop(); +// } else +// #if HASP_USE_WIFI > 0 && !defined(STM32F4xx) +// if(WiFi.status() == WL_CONNECTED || WiFi.getMode() != WIFI_STA) +// #endif +// { +// httpStart(); +// } +// } //////////////////////////////////////////////////////////////////////////////////////////////////// IRAM_ATTR void httpLoop(void)