forked from M-Labs/artiq
Update artiq/coredevice/phaser.py
Co-authored-by: Robert Jördens <rj@quartiq.de>
This commit is contained in:
parent
2044dc3ae5
commit
dc49372d57
|
@ -1072,7 +1072,9 @@ class PhaserChannel:
|
|||
data = 1
|
||||
if hold == 1:
|
||||
data = data | (1 << 1)
|
||||
data = data | (profile << 2)
|
||||
if bypass:
|
||||
hold = 1
|
||||
data = (profile << 2) | (hold << 1) | (bypass << 0)
|
||||
self.phaser.write8(addr, data)
|
||||
|
||||
@kernel
|
||||
|
|
Loading…
Reference in New Issue