diff --git a/artiq/coredevice/ttl.py b/artiq/coredevice/ttl.py index 1b3a6eecd..d5db21a67 100644 --- a/artiq/coredevice/ttl.py +++ b/artiq/coredevice/ttl.py @@ -150,7 +150,7 @@ class TTLInOut: @kernel def _set_sensitivity(self, value): - rtio_output(now_mu(), self.channel, 2, 1 if value else 0) + rtio_output(now_mu(), self.channel, 2, value) self.i_previous_timestamp = now_mu() @kernel