Отремантировал uptime

This commit is contained in:
Dmitry Borisenko
2021-01-04 16:56:20 +01:00
parent a4ae02736c
commit 3cdd8fc2b9
8 changed files with 91 additions and 30 deletions

View File

@@ -19,6 +19,7 @@
#include "Utils/Timings.h"
#include "Utils/WebUtils.h"
#include "items/ButtonInClass.h"
#include "items/vSensorUptime.h"
#include "items/vCountDown.h"
#include "items/vImpulsOut.h"
#include "items/vLogging.h"
@@ -153,4 +154,9 @@ void loop() {
mySensorBmp280->at(i).loop();
}
}
if (mySensorUptime != nullptr) {
for (unsigned int i = 0; i < mySensorUptime->size(); i++) {
mySensorUptime->at(i).loop();
}
}
}