some changes

This commit is contained in:
Dmitry Borisenko
2020-05-26 17:42:50 +02:00
parent bf75e9f4b7
commit ec76321206
17 changed files with 237 additions and 356 deletions

View File

@@ -86,7 +86,7 @@ void Device_init() {
//-------------------------------сценарии-----------------------------------------------------
void Scenario_init() {
if (jsonRead(configSetup, "scenario") == "1") {
if (jsonReadStr(configSetup, "scenario") == "1") {
scenario = readFile("firmware.s.txt", 2048);
}
}
@@ -238,7 +238,7 @@ void statistics() {
#endif
urls += "&";
//-----------------------------------------------------------------
urls += "ver: " + firmware_version; // + " " + DATE_COMPILING + " " + TIME_COMPILING;
urls += "ver: " + firmware_version;
//-----------------------------------------------------------------
String stat = getURL(urls);
//Serial.println(stat);