исправил баг обновления по воздуху

This commit is contained in:
Dmitry Borisenko
2022-02-18 22:16:38 +01:00
parent 2366e027b9
commit fd128f71f2
3 changed files with 12 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@@ -240,6 +240,9 @@
"round": 1, "round": 1,
"int": 1 "int": 1
}, },
{
"header": "Экраны"
},
{ {
"name": "18. LCD экран 2004", "name": "18. LCD экран 2004",
"num": 18, "num": 18,

View File

@@ -92,7 +92,6 @@ void restartEsp() {
const String getBinPath(String file) { const String getBinPath(String file) {
String path = "error"; String path = "error";
if (file != "") {
int targetVersion = 0; int targetVersion = 0;
String serverip; String serverip;
if (jsonRead(errorsHeapJson, F("chver"), targetVersion)) { if (jsonRead(errorsHeapJson, F("chver"), targetVersion)) {
@@ -105,7 +104,6 @@ const String getBinPath(String file) {
} }
} }
SerialPrint("i", F("Update"), "path: " + path); SerialPrint("i", F("Update"), "path: " + path);
}
return path; return path;
} }