2
0
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:
Robert Jördens 2016-02-17 14:35:02 +01:00
parent 65824fc7f4
commit d162b2cc04

View File

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