mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 01:09:51 +03:00
stop all other processes when updating via OTA for speed
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#ifndef MyEMS_h
|
||||
#define MyEMS_h
|
||||
|
||||
#define MYESP_VERSION "1.1.19"
|
||||
#define MYESP_VERSION "1.1.20"
|
||||
|
||||
#include <ArduinoJson.h>
|
||||
#include <ArduinoOTA.h>
|
||||
@@ -335,6 +335,7 @@ class MyESP {
|
||||
ota_callback_f _ota_post_callback;
|
||||
void _ota_setup();
|
||||
void _OTACallback();
|
||||
bool _ota_doing_update;
|
||||
|
||||
// crash
|
||||
void _eeprom_setup();
|
||||
|
||||
Reference in New Issue
Block a user