From 3aebbbdb61a7f231f8779a9731233578be1ffa87 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Tue, 1 Mar 2016 18:22:03 +0100 Subject: [PATCH] coredevice.ttl: fix sensitivity --- artiq/coredevice/ttl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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