This commit is contained in:
Dmitry Borisenko
2020-03-04 15:22:15 +03:00
parent 0064e557f1
commit 60e2ada31a
3 changed files with 4 additions and 3 deletions

View File

@@ -29,7 +29,7 @@
}, },
{ {
"type": "h4", "type": "h4",
"title": "SPIFFS version: 2.2" "title": "SPIFFS version: 2.3"
}, },
{ {
"type": "link", "type": "link",

View File

@@ -70,7 +70,7 @@ void setup() {
Serial.print("[i] Last firmware version: "); Serial.print("[i] Last firmware version: ");
Serial.println(new_version); Serial.println(new_version);
ts.add(TEST, 14400, [&](void*) { ts.add(TEST, statistics_update, [&](void*) {
statistics(); statistics();

3
set.h
View File

@@ -1,4 +1,4 @@
String firmware_version = "2.2"; String firmware_version = "2.3";
String new_version; String new_version;
@@ -24,6 +24,7 @@ String new_version;
#define dhtT_update_int 10000 #define dhtT_update_int 10000
#define dhtH_update_int 10000 #define dhtH_update_int 10000
#define dht_calculation_update_int 10000 #define dht_calculation_update_int 10000
#define statistics_update 1000 * 60 * 60 * 12
//----------------------------------------------------------------- //-----------------------------------------------------------------