disable all automatic restarts when OTA has started

This commit is contained in:
technyon
2022-07-21 18:31:46 +02:00
parent 2ade696e8b
commit a24bb4b0c2
9 changed files with 35 additions and 7 deletions

View File

@@ -27,6 +27,7 @@ public:
void initialize();
void update();
bool otaStarted();
private:
@@ -75,7 +76,6 @@ private:
char _credPassword[31] = {0};
bool _allowRestartToPortal = false;
uint32_t _transferredSize = 0;
bool _otaStart = true;
String _hostname;
String _confirmCode = "----";