Update OTA processing message. Fix always retry of bootCount = 0

This commit is contained in:
Phat Nguyen
2024-05-17 10:32:20 +07:00
parent ed02f66ca2
commit c04ab90fd2
3 changed files with 12 additions and 4 deletions

View File

@ -69,7 +69,7 @@ public:
int countPosition;
const int targetCount = 20;
int bootCount;
int otaBootCount;
int otaBootCount = -1;
String toString(bool isLocal, AgFirmwareMode fwMode, int rssi, void* _ag, void* _config);
};