From 6f9656dcbecb74295728bb6ccb2e135d32f75fc7 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Tue, 1 Mar 2016 18:19:06 +0100 Subject: [PATCH] bridge: fix ttl o/oe addresses --- artiq/runtime/bridge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/runtime/bridge.c b/artiq/runtime/bridge.c index 02be42e4c..82fe3a16a 100644 --- a/artiq/runtime/bridge.c +++ b/artiq/runtime/bridge.c @@ -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; }