mirror of https://github.com/m-labs/artiq.git
pdq2/mediator: fix arm
This commit is contained in:
parent
58c0150822
commit
2bc8286f3f
|
@ -75,7 +75,7 @@ class _Frame:
|
||||||
self.pdq = pdq
|
self.pdq = pdq
|
||||||
self.frame_number = frame_number
|
self.frame_number = frame_number
|
||||||
self.segments = []
|
self.segments = []
|
||||||
self.segment_count = 0
|
self.segment_count = 0 # == len(self.segments), used in kernel
|
||||||
|
|
||||||
self.invalidated = False
|
self.invalidated = False
|
||||||
|
|
||||||
|
@ -184,6 +184,7 @@ class CompoundPDQ2(AutoDB):
|
||||||
raise ArmError
|
raise ArmError
|
||||||
for frame in self.frames:
|
for frame in self.frames:
|
||||||
frame._arm()
|
frame._arm()
|
||||||
|
self.armed = True
|
||||||
|
|
||||||
full_program = [f._get_program() for f in self.frames]
|
full_program = [f._get_program() for f in self.frames]
|
||||||
for n, pdq2 in enumerate(self.pdq2s):
|
for n, pdq2 in enumerate(self.pdq2s):
|
||||||
|
|
Loading…
Reference in New Issue