mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
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
Block a user