diff --git a/Software/src/can.cpp b/Software/src/can.cpp index 78a5da7..3a10e65 100644 --- a/Software/src/can.cpp +++ b/Software/src/can.cpp @@ -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)); }