Compare commits
No commits in common. "e3392d92c46b58ff8c52889030fb4b09ec195690" and "c8f5cda4ba2c760b2d9ef8ba191ae6cfc7f6032d" have entirely different histories.
e3392d92c4
...
c8f5cda4ba
@ -39,7 +39,7 @@ uint32_t Process_CAN_WheelSpeed()
|
||||
milimeters_to_add = (RWP_millimeter_per_second * timesincelast) / 1000;
|
||||
}
|
||||
|
||||
if (lastRecTimestamp > 1000)
|
||||
if (lastRecTimestamp != 0)
|
||||
{
|
||||
MaintainDTC(DTC_NO_CAN_SIGNAL, DTC_CRITICAL, (millis() > lastRecTimestamp + 10000 ? true : false));
|
||||
}
|
||||
|
@ -305,8 +305,6 @@ void Debug_ShowDTCs()
|
||||
char buff_timestamp[16]; // Format: DD-hh:mm:ss:xxx
|
||||
char buff_active[9];
|
||||
|
||||
Debug_pushMessage("\n timestamp | DTC-Nr. | status | severity\n");
|
||||
|
||||
for (uint32_t i = 0; i < MAX_DTC_STORAGE; i++)
|
||||
{
|
||||
if (DTCStorage[i].Number < DTC_LAST_DTC)
|
||||
@ -325,7 +323,7 @@ void Debug_ShowDTCs()
|
||||
else
|
||||
strcpy(buff_active, "none");
|
||||
|
||||
Debug_pushMessage("%s %7d %8s %8d\n", buff_timestamp, DTCStorage[i].Number, buff_active, DTCStorage[i].severity);
|
||||
Debug_pushMessage("%s \t %6d \t %s \t %d\n", buff_timestamp, DTCStorage[i].Number, buff_active, DTCStorage[i].severity);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user