This commit is contained in:
parent
73e9bc9598
commit
da25d650d9
@ -133,8 +133,11 @@ 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++;
|
||||||
|
// Check whether threshold was reached after 10 seconds.
|
||||||
|
if(frameDirtyErrorCounter == 1) {
|
||||||
frameDirtyCheckCd.resetTimer();
|
frameDirtyCheckCd.resetTimer();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case tcsCtrl::OBC_OVERHEATING:
|
case tcsCtrl::OBC_OVERHEATING:
|
||||||
|
Loading…
Reference in New Issue
Block a user