temp sensor update
This commit is contained in:
parent
39940823d1
commit
6873d2b847
@ -122,6 +122,11 @@ protected:
|
|||||||
timeval uptimeOfOldTemperature;
|
timeval uptimeOfOldTemperature;
|
||||||
|
|
||||||
void doChildOperation() {
|
void doChildOperation() {
|
||||||
|
ReturnValue_t result = poolVariable->read(MutexIF::TimeoutType::WAITING, 20);
|
||||||
|
if(result != HasReturnvaluesIF::RETURN_OK) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if ((not poolVariable->isValid()) or
|
if ((not poolVariable->isValid()) or
|
||||||
(not healthHelper.healthTable->isHealthy(getObjectId()))) {
|
(not healthHelper.healthTable->isHealthy(getObjectId()))) {
|
||||||
setInvalid();
|
setInvalid();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user