From 1ebcab01e796ebb1a419abbd428df9ad611d547b Mon Sep 17 00:00:00 2001 From: Pavel Brychta Date: Wed, 27 Oct 2021 10:29:21 +0200 Subject: [PATCH] Oprava pro preklad i pro ESP8266 --- src/WiFiConfig.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/WiFiConfig.cpp b/src/WiFiConfig.cpp index e97e20f..c3bdd63 100644 --- a/src/WiFiConfig.cpp +++ b/src/WiFiConfig.cpp @@ -684,7 +684,9 @@ wificonfigresult_t WiFiConfig::_setupAP(wificonfig_cb cb) dnsServer->stop(); server->end(); #ifdef USE_WIFICONFIG_ARDUINO_OTA +# if defined(ESP32) ArduinoOTA.end(); +# endif #endif return WCR_TIMEOUT; // nepripojeno, vyprsel timeout konfiguracniho AP }