stop all other processes when updating via OTA for speed

This commit is contained in:
Paul
2019-07-01 09:15:38 +02:00
parent 6fb30c7352
commit 533a3b3408
2 changed files with 16 additions and 4 deletions

View File

@@ -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();