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 da25d650d9 - Show all commits

View File

@ -133,7 +133,10 @@ void EiveSystem::handleEventMessages() {
case pdec::INVALID_TC_FRAME: { case pdec::INVALID_TC_FRAME: {
if (event.getParameter1() == pdec::FRAME_DIRTY_RETVAL) { if (event.getParameter1() == pdec::FRAME_DIRTY_RETVAL) {
frameDirtyErrorCounter++; frameDirtyErrorCounter++;
frameDirtyCheckCd.resetTimer(); // Check whether threshold was reached after 10 seconds.
if(frameDirtyErrorCounter == 1) {
frameDirtyCheckCd.resetTimer();
}
} }
break; break;
} }