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

This commit is contained in:
Robin Müller 2023-08-14 10:34:06 +02:00
parent 73e9bc9598
commit da25d650d9
Signed by: muellerr
GPG Key ID: 407F9B00F858F270

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;
} }