Oprava pro preklad i pro ESP8266

This commit is contained in:
Pavel Brychta 2021-10-27 10:29:21 +02:00
parent 518b1b43c8
commit 1ebcab01e7

View File

@ -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
}