mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
bridge: fix ttl o/oe addresses
This commit is contained in:
parent
8adef12781
commit
6f9656dcbe
@ -58,7 +58,7 @@ void bridge_main(void)
|
||||
struct msg_brg_ttl_out *msg;
|
||||
|
||||
msg = (struct msg_brg_ttl_out *)umsg;
|
||||
rtio_output_blind(msg->channel, 0, msg->value);
|
||||
rtio_output_blind(msg->channel, 1, msg->value);
|
||||
mailbox_acknowledge();
|
||||
break;
|
||||
}
|
||||
@ -66,7 +66,7 @@ void bridge_main(void)
|
||||
struct msg_brg_ttl_out *msg;
|
||||
|
||||
msg = (struct msg_brg_ttl_out *)umsg;
|
||||
rtio_output_blind(msg->channel, 1, msg->value);
|
||||
rtio_output_blind(msg->channel, 0, msg->value);
|
||||
mailbox_acknowledge();
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user