mirror of https://github.com/m-labs/artiq.git
ttl: fix type error
This commit is contained in:
parent
4cd47fa935
commit
2616e1928d
|
@ -447,7 +447,7 @@ class TTLInOut:
|
||||||
rtio_output(self.target_sens, 0)
|
rtio_output(self.target_sens, 0)
|
||||||
success = True
|
success = True
|
||||||
try:
|
try:
|
||||||
while rtio_input_timestamp(now_mu() + int64(self.gate_latency_mu), self.channel) != -1:
|
while rtio_input_timestamp(now_mu() + int64(self.gate_latency_mu), self.channel) != int64(-1):
|
||||||
success = False
|
success = False
|
||||||
except RTIOOverflow:
|
except RTIOOverflow:
|
||||||
success = False
|
success = False
|
||||||
|
|
Loading…
Reference in New Issue