Rework PDEC FDIR #772

Merged
muellerr merged 8 commits from rework-pdec-fdir into main 2023-08-15 11:23:55 +02:00
Showing only changes of commit 9f176e1959 - Show all commits

View File

@ -296,9 +296,8 @@ ReturnValue_t EiveSystem::sendFullRebootCommand() {
} }
void EiveSystem::pdecRecoveryLogic() { void EiveSystem::pdecRecoveryLogic() {
// PDEC reset has happened too often in the last time. Perform reboot to same image.
if (pdecResetCounter >= PDEC_RESET_MAX_COUNT_BEFORE_REBOOT) { if (pdecResetCounter >= PDEC_RESET_MAX_COUNT_BEFORE_REBOOT) {
// If a PTME reset was already attempted and there is still an issue receiving TC frames,
// reboot the system.
if (waitingForPdecReboot) { if (waitingForPdecReboot) {
return; return;
} }