forked from M-Labs/artiq
1
0
Fork 0

artiq_sinara_tester: fix handling of IO_UPDATE with SU-Servo

This commit is contained in:
Sebastien Bourdeauducq 2021-11-20 16:53:09 +08:00
parent d9b01ed81a
commit 946254d22e
1 changed files with 3 additions and 2 deletions

View File

@ -101,8 +101,9 @@ class SinaraTester(EnvExperiment):
sw_device = desc["arguments"]["sw_device"] sw_device = desc["arguments"]["sw_device"]
del self.ttl_outs[sw_device] del self.ttl_outs[sw_device]
elif (module, cls) == ("artiq.coredevice.urukul", "CPLD"): elif (module, cls) == ("artiq.coredevice.urukul", "CPLD"):
io_update_device = desc["arguments"]["io_update_device"] io_update_device = desc["arguments"].get("io_update_device", None)
del self.ttl_outs[io_update_device] if io_update_device is not None:
del self.ttl_outs[io_update_device]
elif (module, cls) == ("artiq.coredevice.sampler", "Sampler"): elif (module, cls) == ("artiq.coredevice.sampler", "Sampler"):
cnv_device = desc["arguments"]["cnv_device"] cnv_device = desc["arguments"]["cnv_device"]
del self.ttl_outs[cnv_device] del self.ttl_outs[cnv_device]