fix minor build issue under esp8266

This commit is contained in:
Rick Watson committed 2019-06-25 23:31:58 +01:00
1 parent 49c282b286
commit bbcdf3defb
2 files changed
+2 -1

No files matched your search

+2
View File
@@ -39,7 +39,9 @@ void OTASettingsService::writeToJsonObject(JsonObject& root) {
void OTASettingsService::configureArduinoOTA() {
if (_arduinoOTA){
#if defined(ESP_PLATFORM)
_arduinoOTA->end();
#endif
delete _arduinoOTA;
_arduinoOTA = nullptr;
}
-1
View File
@@ -10,7 +10,6 @@
#endif
#include <FS.h>
#include <esp_wifi.h>
#include <SecuritySettingsService.h>
#include <WiFiSettingsService.h>
#include <APSettingsService.h>