2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 19:28:26 +08:00

bridge: fix ttl o/oe addresses

This commit is contained in:
Robert Jördens 2016-03-01 18:19:06 +01:00
parent 8adef12781
commit 6f9656dcbe

View File

@ -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;
} }