changed EEPROM-Stuff and added DTC if EE-Ver changed

This commit is contained in:
2022-05-02 20:29:17 +02:00
parent c3e71d4759
commit 2b5039b8ab
4 changed files with 39 additions and 51 deletions

View File

@@ -38,7 +38,7 @@ uint32_t Process_CAN_WheelSpeed()
return milimeters_to_add;
}
MaintainDTC(DTC_NO_CAN_SIGNAL, (millis() > lastRecTimestamp + 10000));
MaintainDTC(DTC_NO_CAN_SIGNAL, (millis() > lastRecTimestamp + 10000 ? true : false));
return 0;
}