temp sensor update

This commit is contained in:
Robin Müller 2021-04-20 14:46:59 +02:00
parent 39940823d1
commit 6873d2b847

View File

@ -122,6 +122,11 @@ protected:
timeval uptimeOfOldTemperature;
void doChildOperation() {
ReturnValue_t result = poolVariable->read(MutexIF::TimeoutType::WAITING, 20);
if(result != HasReturnvaluesIF::RETURN_OK) {
return;
}
if ((not poolVariable->isValid()) or
(not healthHelper.healthTable->isHealthy(getObjectId()))) {
setInvalid();