fastino: style

This commit is contained in:
Robert Jördens 2020-01-20 13:22:22 +01:00
parent c45a872cba
commit 248230a89e
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ streaming DAC.
TODO: Example, describe update/hold TODO: Example, describe update/hold
""" """
from artiq.language.core import kernel, portable from artiq.language.core import kernel, portable, delay
from artiq.coredevice.rtio import rtio_output, rtio_input_data from artiq.coredevice.rtio import rtio_output, rtio_input_data
from artiq.language.units import us from artiq.language.units import us
@ -112,7 +112,7 @@ class Fastino:
error counting. error counting.
""" """
self.write(0x22, (reset << 0) | (afe_power_down << 1) | self.write(0x22, (reset << 0) | (afe_power_down << 1) |
(dac_clr << 2) | (clr_err << 3)) (dac_clr << 2) | (clr_err << 3))
@kernel @kernel
def set_leds(self, leds): def set_leds(self, leds):