Gisteresis termostat

This commit is contained in:
Dmitry Borisenko
2020-12-09 04:08:36 +03:00
parent 6e44f76385
commit 6205f6959c
31 changed files with 257 additions and 741 deletions

View File

@@ -42,11 +42,11 @@ void getLastVersion() {
#endif
if (tmp == "error") {
lastVersion = -1;
}
}
else {
lastVersion = tmp.toInt();
}
}
}
else {
lastVersion = -2;
}
@@ -102,7 +102,7 @@ bool upgradeFS() {
if (retFS == HTTP_UPDATE_OK) { //если FS обновилась успешно
SerialPrint("I", "Update", "LittleFS upgrade done!");
ret = true;
}
}
return ret;
}
@@ -122,7 +122,7 @@ bool upgradeBuild() {
if (retBuild == HTTP_UPDATE_OK) { //если BUILD обновился успешно
SerialPrint("I", "Update", "BUILD upgrade done!");
ret = true;
}
}
return ret;
}