only do time file handling with mounted SD card
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2022-10-12 12:01:48 +02:00
parent bcf7fa216a
commit 214428295b
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -1241,6 +1241,7 @@ void CoreController::performMountedSdCardOperations() {
initClockFromTimeFile();
performRebootFileHandling(false);
}
timeFileHandler();
};
bool clearOneShotFlag = false;
if (sdInfo.active == sd::SdCard::SLOT_0 and sdcMan->isSdCardUsable(sd::SdCard::SLOT_0)) {
@ -1254,7 +1255,6 @@ void CoreController::performMountedSdCardOperations() {
if (clearOneShotFlag) {
performOneShotSdCardOpsSwitch = true;
}
timeFileHandler();
}
ReturnValue_t CoreController::performSdCardCheck() {