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

test: Fix, Unit already turns error passive!

parent 706f4924
...@@ -280,7 +280,11 @@ package body retr_limit_feature is ...@@ -280,7 +280,11 @@ package body retr_limit_feature is
check(buf_state = buf_failed, "TXT Buffer failed"); check(buf_state = buf_failed, "TXT Buffer failed");
end if; end if;
end loop; end loop;
CAN_wait_bus_idle(ID_1, mem_bus(1));
-- Error counters must be erased because unit is already Error Passive!
err_counters.tx_counter := 0;
set_error_counters(err_counters, ID_1, mem_bus(1));
wait for 100 ns;
------------------------------------------------------------------------ ------------------------------------------------------------------------
-- 11. Set retransmitt limit to 1 in Node 1. Insert frames for -- 11. Set retransmitt limit to 1 in Node 1. Insert frames for
......
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