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
|
@kernel
|
||||||
def detect(self):
|
def detect(self):
|
||||||
with parallel:
|
|
||||||
self.bd_sw.pulse(100*us)
|
|
||||||
self.pmt.gate_rising(100*us)
|
|
||||||
self.bd_sw.on()
|
self.bd_sw.on()
|
||||||
|
self.pmt.gate_rising(100*us)
|
||||||
return self.pmt.count()
|
return self.pmt.count()
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
|
|
Loading…
Reference in New Issue