mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 03:38:25 +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;
|
struct msg_brg_ttl_out *msg;
|
||||||
|
|
||||||
msg = (struct msg_brg_ttl_out *)umsg;
|
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();
|
mailbox_acknowledge();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -66,7 +66,7 @@ void bridge_main(void)
|
|||||||
struct msg_brg_ttl_out *msg;
|
struct msg_brg_ttl_out *msg;
|
||||||
|
|
||||||
msg = (struct msg_brg_ttl_out *)umsg;
|
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();
|
mailbox_acknowledge();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user