Commit feaa4527 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

Bug-fixes

parent 29df7a00
......@@ -109,7 +109,7 @@ package body timestamp_options_feature is
CAN_read_frame(CAN_frame, ID_2, mem_bus(2));
diff := to_integer(unsigned(CAN_frame.timestamp)) -
to_integer(unsigned(ts_beg));
if (diff > 100))then
if (diff > 100) then
report "Timestamp difference is too big from SOF!" severity error;
outcome := false;
end if;
......@@ -135,7 +135,7 @@ package body timestamp_options_feature is
CAN_read_frame(CAN_frame, ID_2, mem_bus(2));
diff := to_integer(unsigned(ts_end)) -
to_integer(unsigned(CAN_frame.timestamp));
if (diff > 100))then
if (diff > 100) then
report "Timestamp difference is too big from EOF!" severity error;
outcome := false;
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