We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49c282b commit bbcdf3dCopy full SHA for bbcdf3d
src/OTASettingsService.cpp
@@ -39,7 +39,9 @@ void OTASettingsService::writeToJsonObject(JsonObject& root) {
39
40
void OTASettingsService::configureArduinoOTA() {
41
if (_arduinoOTA){
42
+#if defined(ESP_PLATFORM)
43
_arduinoOTA->end();
44
+#endif
45
delete _arduinoOTA;
46
_arduinoOTA = nullptr;
47
}
src/main.cpp
@@ -10,7 +10,6 @@
10
#endif
11
12
#include <FS.h>
13
-#include <esp_wifi.h>
14
#include <SecuritySettingsService.h>
15
#include <WiFiSettingsService.h>
16
#include <APSettingsService.h>
0 commit comments