forked from M-Labs/artiq
artiq_sinara_tester: fix handling of IO_UPDATE with SU-Servo
This commit is contained in:
parent
d9b01ed81a
commit
946254d22e
@ -101,8 +101,9 @@ class SinaraTester(EnvExperiment):
|
||||
sw_device = desc["arguments"]["sw_device"]
|
||||
del self.ttl_outs[sw_device]
|
||||
elif (module, cls) == ("artiq.coredevice.urukul", "CPLD"):
|
||||
io_update_device = desc["arguments"]["io_update_device"]
|
||||
del self.ttl_outs[io_update_device]
|
||||
io_update_device = desc["arguments"].get("io_update_device", None)
|
||||
if io_update_device is not None:
|
||||
del self.ttl_outs[io_update_device]
|
||||
elif (module, cls) == ("artiq.coredevice.sampler", "Sampler"):
|
||||
cnv_device = desc["arguments"]["cnv_device"]
|
||||
del self.ttl_outs[cnv_device]
|
||||
|
Loading…
Reference in New Issue
Block a user