File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ void bridge_main(void)
16
16
{
17
17
struct msg_base * umsg ;
18
18
19
+ rtio_init ();
19
20
send_ready ();
20
21
while (1 ) {
21
22
umsg = mailbox_wait_and_receive ();
@@ -24,7 +25,6 @@ void bridge_main(void)
24
25
struct msg_brg_ttl_out * msg ;
25
26
26
27
msg = (struct msg_brg_ttl_out * )umsg ;
27
- rtio_init ();
28
28
rtio_set_oe (rtio_get_counter () + 8000 , msg -> channel , msg -> value );
29
29
mailbox_acknowledge ();
30
30
break ;
@@ -33,7 +33,6 @@ void bridge_main(void)
33
33
struct msg_brg_ttl_out * msg ;
34
34
35
35
msg = (struct msg_brg_ttl_out * )umsg ;
36
- rtio_init ();
37
36
rtio_set_o (rtio_get_counter () + 8000 , msg -> channel , msg -> value );
38
37
mailbox_acknowledge ();
39
38
break ;
@@ -75,7 +74,6 @@ void bridge_main(void)
75
74
break ;
76
75
}
77
76
case MESSAGE_TYPE_BRG_DDS_FUD :
78
- rtio_init ();
79
77
rtio_fud (rtio_get_counter () + 8000 );
80
78
mailbox_acknowledge ();
81
79
break ;
You can’t perform that action at this time.
0 commit comments