forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 2 additions and 2 deletions

View File

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