Oprava pro preklad i pro ESP8266
This commit is contained in:
parent
518b1b43c8
commit
1ebcab01e7
@ -684,7 +684,9 @@ wificonfigresult_t WiFiConfig::_setupAP(wificonfig_cb cb)
|
|||||||
dnsServer->stop();
|
dnsServer->stop();
|
||||||
server->end();
|
server->end();
|
||||||
#ifdef USE_WIFICONFIG_ARDUINO_OTA
|
#ifdef USE_WIFICONFIG_ARDUINO_OTA
|
||||||
|
# if defined(ESP32)
|
||||||
ArduinoOTA.end();
|
ArduinoOTA.end();
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
return WCR_TIMEOUT; // nepripojeno, vyprsel timeout konfiguracniho AP
|
return WCR_TIMEOUT; // nepripojeno, vyprsel timeout konfiguracniho AP
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user