Commit b99f7ac2 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.
Browse files

Bug-fix, indixes swapped.

parent 042b5e89
......@@ -3157,10 +3157,10 @@ package body CANtestLib is
-- Wait until unit starts to transmitt or recieve
while (true) loop
CAN_read(r_data, MODE_ADR, ID, mem_bus);
if (exit_trans and r_data(RS_IND) = '1') then
if (exit_trans and r_data(TS_IND) = '1') then
end if;
if (exit_rec and r_data(TS_IND) = '1') then
if (exit_rec and r_data(RS_IND) = '1') then
end if;
end loop;
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