fix minor build issue under esp8266
This commit is contained in:
parent
49c282b286
commit
bbcdf3defb
@ -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;
|
||||
}
|
||||
|
@ -10,7 +10,6 @@
|
||||
#endif
|
||||
|
||||
#include <FS.h>
|
||||
#include <esp_wifi.h>
|
||||
#include <SecuritySettingsService.h>
|
||||
#include <WiFiSettingsService.h>
|
||||
#include <APSettingsService.h>
|
||||
|
Loading…
Reference in New Issue
Block a user