mirror of https://github.com/m-labs/artiq.git
fix len
This commit is contained in:
parent
263c2751b3
commit
1cc57e2345
|
@ -383,6 +383,9 @@ class Phaser:
|
||||||
abs(data_i - data_q) > 2):
|
abs(data_i - data_q) > 2):
|
||||||
raise ValueError("DUC+oscillator phase/amplitude test failed")
|
raise ValueError("DUC+oscillator phase/amplitude test failed")
|
||||||
|
|
||||||
|
if is_miqro:
|
||||||
|
channel.miqro.reset()
|
||||||
|
|
||||||
if is_baseband:
|
if is_baseband:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
@ -1485,4 +1488,4 @@ class Miqro:
|
||||||
data = [0, 0, 0]
|
data = [0, 0, 0]
|
||||||
words = self.encode(window, profiles, data)
|
words = self.encode(window, profiles, data)
|
||||||
delay_mu(-8*words)
|
delay_mu(-8*words)
|
||||||
self.pulse_mu(data[:words])
|
self.pulse_mu(data[:words + 1])
|
||||||
|
|
Loading…
Reference in New Issue