mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
254 fixed bug of items list
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
},
|
||||
{
|
||||
"type": "h4",
|
||||
"title": "LittleFS version: 253"
|
||||
"title": "LittleFS version: 254"
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
//=================Firmeare=================
|
||||
#define FIRMWARE_NAME "esp8266-iotm"
|
||||
#define FIRMWARE_VERSION 253
|
||||
#define FIRMWARE_VERSION 254
|
||||
#define FLASH_4MB true
|
||||
|
||||
//=================System===================
|
||||
|
||||
@@ -13,7 +13,7 @@ void loopCmdAdd(const String &cmdStr) {
|
||||
}
|
||||
|
||||
void fileCmdExecute(const String &filename) {
|
||||
String cmdStr = readFile(filename, 2048);
|
||||
String cmdStr = readFile(filename, 4096);
|
||||
csvCmdExecute(cmdStr);
|
||||
}
|
||||
|
||||
|
||||
16
src/Init.cpp
16
src/Init.cpp
@@ -27,12 +27,8 @@ void Device_init() {
|
||||
sensorReadingMap = "";
|
||||
dallasEnterCounter = -1;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
logging_value_names_list = "";
|
||||
enter_to_logging_counter = LOG1 - 1;
|
||||
//logging_value_names_list = "";
|
||||
//enter_to_logging_counter = LOG1 - 1;
|
||||
//analog_value_names_list = "";
|
||||
//enter_to_analog_counter = 0;
|
||||
//dallas_value_name = "";
|
||||
@@ -47,15 +43,13 @@ void Device_init() {
|
||||
//bme280P_value_name = "";
|
||||
//bme280H_value_name = "";
|
||||
//bme280A_value_name = "";
|
||||
|
||||
//int array_sz = sizeof(sensors_reading_map) / sizeof(sensors_reading_map[0]);
|
||||
//for (int i = 0; i < array_sz; i++) {
|
||||
// sensors_reading_map[i] = 0;
|
||||
//}
|
||||
|
||||
for (int i = LOG1; i <= LOG5; i++) {
|
||||
ts.remove(i);
|
||||
}
|
||||
//for (int i = LOG1; i <= LOG5; i++) {
|
||||
// ts.remove(i);
|
||||
//}
|
||||
|
||||
#ifdef LAYOUT_IN_RAM
|
||||
all_widgets = "";
|
||||
|
||||
Reference in New Issue
Block a user