Commit 9a1a1f0e authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

test: Fix Error rules E. One more wait bit added.

Also node 1 will end up in Overload (not error) frame.
parent 0ba13886
......@@ -173,6 +173,12 @@ package body error_rules_e_feature is
CAN_generate_frame(rand_ctr, CAN_frame);
CAN_send_frame(CAN_frame, 1, ID_1, mem_bus(1), frame_sent);
CAN_wait_pc_state(pc_deb_intermission, ID_2, mem_bus(2));
-- Fix: We must wait for one more bit since Node 1 might understood
-- this as Error condition.
CAN_wait_sample_point(iout(2).stat_bus, false);
-- Force Dominant -> Overload condition!
force_bus_level(DOMINANT, so.bl_force, so.bl_inject);
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