clean up
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2023-04-04 14:29:05 +02:00
parent 3941770378
commit 1d82977ca2
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -295,17 +295,13 @@ ReturnValue_t AcsBoardAssembly::checkAndHandleHealthStates(Mode_t deviceMode,
overwriteDeviceHealth(helper.healthDevGps1, overwriteDeviceHealth(helper.healthDevGps1,
healthHelper.healthTable->getHealth(helper.healthDevGps1)); healthHelper.healthTable->getHealth(helper.healthDevGps1));
} }
if (healthHelper.healthTable->getHealth(helper.healthDevGps0) == FAULTY and
healthHelper.healthTable->getHealth(helper.healthDevGps1) == FAULTY) { if (deviceSubmode == duallane::DUAL_MODE) {
overwriteDeviceHealth(helper.healthDevGps0, FAULTY); checkAcsBoardSensorGroup(helper.mgm0Lis3IdSideA, helper.mgm1Rm3100IdSideA,
overwriteDeviceHealth(helper.healthDevGps1, FAULTY); helper.mgm2Lis3IdSideB, helper.mgm3Rm3100IdSideB);
} else if () checkAcsBoardSensorGroup(helper.gyro0AdisIdSideA, helper.gyro1L3gIdSideA,
if (deviceSubmode == duallane::DUAL_MODE) { helper.gyro2AdisIdSideB, helper.gyro3L3gIdSideB);
checkAcsBoardSensorGroup(helper.mgm0Lis3IdSideA, helper.mgm1Rm3100IdSideA, }
helper.mgm2Lis3IdSideB, helper.mgm3Rm3100IdSideB);
checkAcsBoardSensorGroup(helper.gyro0AdisIdSideA, helper.gyro1L3gIdSideA,
helper.gyro2AdisIdSideB, helper.gyro3L3gIdSideB);
}
return status; return status;
} }