forked from M-Labs/artiq
transport: drop a parallel usage
This commit is contained in:
parent
65824fc7f4
commit
d162b2cc04
|
@ -60,10 +60,8 @@ class Transport(EnvExperiment):
|
|||
|
||||
@kernel
|
||||
def detect(self):
|
||||
with parallel:
|
||||
self.bd_sw.pulse(100*us)
|
||||
self.pmt.gate_rising(100*us)
|
||||
self.bd_sw.on()
|
||||
self.pmt.gate_rising(100*us)
|
||||
return self.pmt.count()
|
||||
|
||||
@kernel
|
||||
|
|
Loading…
Reference in New Issue