mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
Update artiq/coredevice/phaser.py
Co-authored-by: Robert Jördens <rj@quartiq.de>
This commit is contained in:
parent
ae3f1c1c71
commit
2044dc3ae5
@ -1067,7 +1067,7 @@ class PhaserChannel:
|
||||
"""
|
||||
if (profile < 0) | (profile > 3):
|
||||
raise ValueError("invalid profile index")
|
||||
addr = PHASER_ADDR_SERVO_CFG1 if self.index == 1 else PHASER_ADDR_SERVO_CFG0
|
||||
addr = PHASER_ADDR_SERVO_CFG0 + self.index
|
||||
if bypass == 0:
|
||||
data = 1
|
||||
if hold == 1:
|
||||
|
Loading…
Reference in New Issue
Block a user