only do time file handling with mounted SD card
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
parent
bcf7fa216a
commit
214428295b
@ -1241,6 +1241,7 @@ void CoreController::performMountedSdCardOperations() {
|
|||||||
initClockFromTimeFile();
|
initClockFromTimeFile();
|
||||||
performRebootFileHandling(false);
|
performRebootFileHandling(false);
|
||||||
}
|
}
|
||||||
|
timeFileHandler();
|
||||||
};
|
};
|
||||||
bool clearOneShotFlag = false;
|
bool clearOneShotFlag = false;
|
||||||
if (sdInfo.active == sd::SdCard::SLOT_0 and sdcMan->isSdCardUsable(sd::SdCard::SLOT_0)) {
|
if (sdInfo.active == sd::SdCard::SLOT_0 and sdcMan->isSdCardUsable(sd::SdCard::SLOT_0)) {
|
||||||
@ -1254,7 +1255,6 @@ void CoreController::performMountedSdCardOperations() {
|
|||||||
if (clearOneShotFlag) {
|
if (clearOneShotFlag) {
|
||||||
performOneShotSdCardOpsSwitch = true;
|
performOneShotSdCardOpsSwitch = true;
|
||||||
}
|
}
|
||||||
timeFileHandler();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t CoreController::performSdCardCheck() {
|
ReturnValue_t CoreController::performSdCardCheck() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user