From 2549e623c1cb2dd1791c4361230fb1e263e19265 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 8 Nov 2018 19:15:44 +0800 Subject: [PATCH] ad9914: use new rtio_output() API --- artiq/coredevice/ad9914.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/coredevice/ad9914.py b/artiq/coredevice/ad9914.py index bd2ec4db0..aceb79f17 100644 --- a/artiq/coredevice/ad9914.py +++ b/artiq/coredevice/ad9914.py @@ -84,7 +84,7 @@ class AD9914: @kernel def write(self, addr, data): - rtio_output(now_mu(), self.bus_channel, addr, data) + rtio_output((self.bus_channel << 8) | addr, data) delay_mu(self.write_duration_mu) @kernel