tweaks and CHANGELOG
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit

This commit is contained in:
2023-03-10 18:17:04 +01:00
parent 976235a79f
commit 5f9e0bf80a
3 changed files with 21 additions and 19 deletions

View File

@ -99,16 +99,18 @@ void CoreController::performControlOperation() {
}
sdStateMachine();
performMountedSdCardOperations();
if (sdCardCheckCd.hasTimedOut()) {
if (shortSdCardCdCounter < 2) {
shortSdCardCdCounter++;
}
if (shortSdCardCdCounter == 2) {
sdCardCheckCd.setTimeout(DEFAULT_SD_CARD_CHECK_TIMEOUT);
}
performSdCardCheck();
sdCardCheckCd.resetTimer();
}
// TODO: Remove if not required. The filesystem is not re-mounted read-only
// when using ext4
// if (sdCardCheckCd.hasTimedOut()) {
// if (shortSdCardCdCounter < 2) {
// shortSdCardCdCounter++;
// }
// if (shortSdCardCdCounter == 2) {
// sdCardCheckCd.setTimeout(DEFAULT_SD_CARD_CHECK_TIMEOUT);
// }
// performSdCardCheck();
// sdCardCheckCd.resetTimer();
// }
readHkData();
opDivider5.checkAndIncrement();
opDivider10.checkAndIncrement();