thermal sensor update #402

Merged
gaisser merged 13 commits from mueller/thermal-handler into development 2021-04-20 16:10:21 +02:00
Showing only changes of commit 6873d2b847 - Show all commits

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();