mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
260 add uptime to iot manager
This commit is contained in:
@@ -91,6 +91,8 @@ class LineParsing {
|
||||
|
||||
_descr.replace("#", " ");
|
||||
|
||||
_descr.replace("%ver%", String(FIRMWARE_VERSION));
|
||||
|
||||
createWidgetClass(_descr, _page, _order, _file, _key);
|
||||
}
|
||||
|
||||
@@ -201,3 +203,5 @@ class LineParsing {
|
||||
// return json;
|
||||
//}
|
||||
};
|
||||
|
||||
extern LineParsing myLineParsing;
|
||||
|
||||
@@ -5,12 +5,13 @@
|
||||
//
|
||||
#ifdef ESP8266
|
||||
#define FIRMWARE_NAME "esp8266-iotm"
|
||||
#define FIRMWARE_VERSION 260
|
||||
#endif
|
||||
#ifdef ESP32
|
||||
#define FIRMWARE_NAME "esp32-iotm"
|
||||
#define FIRMWARE_VERSION 259
|
||||
#endif
|
||||
|
||||
#define FIRMWARE_VERSION 259
|
||||
#define FLASH_4MB true
|
||||
|
||||
//
|
||||
|
||||
@@ -46,3 +46,6 @@ extern void bmp280ReadingPress();
|
||||
|
||||
//extern void modbus();
|
||||
//extern void modbusReading();
|
||||
|
||||
extern void sysUptime();
|
||||
extern void uptimeReading();
|
||||
|
||||
Reference in New Issue
Block a user