Commit 599dbb2b authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

Next fix. Again forgotten that retr limit is number of retranmissions

not number of total transmissions.
parent 5431caf2
......@@ -317,10 +317,10 @@ package body txtb_state_feature is
-- Send frame from Node 1. Wait till the frame is retransmitted
-- 5 times!
-- 6 (retransmitted 5 times) times!
CAN_send_frame(CAN_frame, i, ID_1, mem_bus(1), frame_sent);
for i in 0 to 4 loop
for i in 0 to 5 loop
CAN_wait_tx_rx_start(true, false, ID_1, mem_bus(1));
CAN_wait_bus_idle(ID_1, mem_bus(1));
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