This commit is contained in:
Dmitry Borisenko
2021-01-04 01:17:11 +01:00
parent 4e630fd0b0
commit e822414187
5 changed files with 10 additions and 19 deletions

View File

@@ -14,22 +14,6 @@ extern void buttonInSet();
extern void bme280Temp();
extern void bme280ReadingTemp();
extern void bme280Hum();
extern void bme280ReadingHum();
extern void bme280Press();
extern void bme280ReadingPress();
extern void bmp280Temp();
extern void bmp280ReadingTemp();
extern void bmp280Press();
extern void bmp280ReadingPress();
//extern void modbus();
//extern void modbusReading();
extern void sysUptime();
extern void uptimeReading();

View File

@@ -0,0 +1,5 @@
#pragma once
extern void sysUptime();
extern void uptimeReading();

View File

@@ -2,6 +2,7 @@
#include "Global.h"
#include "SoftUART.h"
//
#include "items/sysUptime.h"
#include "items/vSensorDallas.h"
#include "items/vSensorUltrasonic.h"
#include "items/vButtonOut.h"

View File

@@ -1,5 +1,5 @@
#include "Utils/WiFiUtils.h"
#include "items/sysUptime.h"
#include "FileSystem.h"
void routerConnect() {
@@ -141,6 +141,7 @@ uint8_t RSSIquality() {
void wifiSignalInit() {
ts.add(
SYGNAL, 1000 * 60, [&](void*) {
//uptimeReading();
SerialPrint("I", "System", printMemoryStatus());
#ifdef ESP8266
getFSInfo();

View File

@@ -1,3 +1,4 @@
#include "items/sysUptime.h"
#include "Class/LineParsing.h"
#include "BufferExecute.h"
#include "Global.h"
@@ -7,7 +8,6 @@ void sysUptime() {
myLineParsing.update();
String key = myLineParsing.gkey();
sCmd.addCommand(key.c_str(), uptimeReading);
//ensorReadingMap30sec += key + ",";
myLineParsing.clear();
}