update core ctrl
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
2023-06-25 11:04:13 +02:00
parent 6b9aa8eb7b
commit 5a642b7d2f
2 changed files with 5 additions and 5 deletions

View File

@ -1696,7 +1696,7 @@ void CoreController::performRebootWatchdogHandling(bool recreateFile) {
bool doReboot = false;
xsc::Chip tgtChip = xsc::NO_CHIP;
xsc::Copy tgtCopy = xsc::NO_COPY;
rebootWatchdogAlgorithm((rebootFile, doReboot, tgtChip, tgtCopy);
rebootWatchdogAlgorithm(rebootWatchdogFile, doReboot, tgtChip, tgtCopy);
if (doReboot) {
rebootWatchdogFile.bootFlag = true;
#if OBSW_VERBOSE_LEVEL >= 1
@ -1715,8 +1715,8 @@ void CoreController::performRebootWatchdogHandling(bool recreateFile) {
rewriteRebootWatchdogFile(rebootWatchdogFile);
}
void CoreController::rebootWatchdogAlgorithm(RebootFile &rf, bool &needsReboot,
xsc::Chip &tgtChip, xsc::Copy &tgtCopy) {
void CoreController::rebootWatchdogAlgorithm(RebootWatchdogFile &rf, bool &needsReboot,
xsc::Chip &tgtChip, xsc::Copy &tgtCopy) {
tgtChip = xsc::CHIP_0;
tgtCopy = xsc::COPY_0;
needsReboot = false;