coredevice.ttl: fix sensitivity

This commit is contained in:
Robert Jördens 2016-03-01 18:22:03 +01:00
parent 6f9656dcbe
commit 3aebbbdb61

View File

@ -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