From da25d650d982e4f95b519185c509e055f34da1b4 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 14 Aug 2023 10:34:06 +0200 Subject: [PATCH] bugfix --- mission/system/EiveSystem.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mission/system/EiveSystem.cpp b/mission/system/EiveSystem.cpp index 8271b179..84b4edf7 100644 --- a/mission/system/EiveSystem.cpp +++ b/mission/system/EiveSystem.cpp @@ -133,7 +133,10 @@ void EiveSystem::handleEventMessages() { case pdec::INVALID_TC_FRAME: { if (event.getParameter1() == pdec::FRAME_DIRTY_RETVAL) { frameDirtyErrorCounter++; - frameDirtyCheckCd.resetTimer(); + // Check whether threshold was reached after 10 seconds. + if(frameDirtyErrorCounter == 1) { + frameDirtyCheckCd.resetTimer(); + } } break; }