Changed DTC for CAN-Signal timeout (Startup-delay)
This commit is contained in:
parent
6a6227ed85
commit
e3392d92c4
@ -39,7 +39,7 @@ uint32_t Process_CAN_WheelSpeed()
|
||||
milimeters_to_add = (RWP_millimeter_per_second * timesincelast) / 1000;
|
||||
}
|
||||
|
||||
if (lastRecTimestamp != 0)
|
||||
if (lastRecTimestamp > 1000)
|
||||
{
|
||||
MaintainDTC(DTC_NO_CAN_SIGNAL, DTC_CRITICAL, (millis() > lastRecTimestamp + 10000 ? true : false));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user