bench_test CAN packets do not use proper IDs #5525

This commit is contained in:
rusefi 2023-08-20 21:35:04 -04:00
parent 398f885a72
commit d08fbc2878
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ CanTxMessage::CanTxMessage(CanCategory category, uint32_t eid, uint8_t dlc, size
if (isExtended) {
CAN_EID(m_frame) = eid;
} else {
efiAssertVoid(ObdCode::OBD_PCM_Processor_Fault, eid < 0x800, "Looks like extended CAN ID");
CAN_SID(m_frame) = eid;
}