wrong logic
This commit is contained in:
@ -288,7 +288,7 @@ ReturnValue_t AcsBoardAssembly::checkAndHandleHealthStates(Mode_t deviceMode,
|
||||
} else if (healthHelper.healthTable->getHealth(helper.healthDevGps1) == PERMANENT_FAULTY and
|
||||
healthHelper.healthTable->getHealth(helper.healthDevGps0) == FAULTY) {
|
||||
overwriteDeviceHealth(helper.healthDevGps0, FAULTY);
|
||||
} else if (healthHelper.healthTable->isFaulty(helper.healthDevGps0) or
|
||||
} else if (healthHelper.healthTable->isFaulty(helper.healthDevGps0) and
|
||||
healthHelper.healthTable->isFaulty(helper.healthDevGps1)) {
|
||||
overwriteDeviceHealth(helper.healthDevGps0,
|
||||
healthHelper.healthTable->getHealth(helper.healthDevGps0));
|
||||
|
Reference in New Issue
Block a user