Commit 6c5a078f authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

Added log of received frame to data length test.

parent c300c75f
......@@ -120,6 +120,7 @@ package body data_length_code_feature is
CAN_read_frame(CAN_frame_2, ID_2, mem_bus(2));
if (CAN_frame_2.dlc /= "1000") then
o.outcome := false;
CAN_print_frame(CAN_frame_2, info_l);
report "Invalid DLC received!" severity error;
end if;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment