1
0
forked from fsfw/fsfw

added way to start DH immediately, bugfix in event manager

This commit is contained in:
2020-09-05 15:58:53 +02:00
parent faeeca8707
commit 05814dc805
5 changed files with 66 additions and 36 deletions

View File

@ -247,6 +247,14 @@ bool DeviceHandlerFailureIsolation::isFdirInActionOrAreWeFaulty(
}
return true;
}
if (owner == nullptr) {
// Configuration error.
sif::error << "DeviceHandlerFailureIsolation::"
<< "isFdirInActionOrAreWeFaulty: Owner not set!" << std::endl;
return false;
}
if (owner->getHealth() == HasHealthIF::FAULTY
|| owner->getHealth() == HasHealthIF::PERMANENT_FAULTY) {
//Ignore all events in case device is already faulty.