bench_test CAN packets do not use proper IDs #5525
This commit is contained in:
parent
398f885a72
commit
d08fbc2878
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue