forked from M-Labs/artiq
ad9914: use new rtio_output() API
This commit is contained in:
parent
f74dda639f
commit
2549e623c1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue