Optimization

This commit is contained in:
Dmitry Borisenko
2020-10-20 23:58:23 +03:00
parent a5171f1178
commit 29e5a55ad3
14 changed files with 63 additions and 121 deletions

View File

@@ -63,8 +63,8 @@ void sensorsInit() {
nullptr, true);
ts.add(
SENSORS60SEC, 60000, [&](void *) {
String buf = sensorReadingMap60sec;
SENSORS30SEC, 30000, [&](void *) {
String buf = sensorReadingMap30sec;
while (buf.length()) {
String tmp = selectToMarker(buf, ",");
sCmd.readStr(tmp);
@@ -74,8 +74,3 @@ void sensorsInit() {
nullptr, true);
}
//void loopSerial() {
// if (term) {
// term->loop();
// }
//}