From 2044dc3ae59400b3e717d4ab261e1aaf748fe178 Mon Sep 17 00:00:00 2001 From: Norman Krackow Date: Fri, 17 Jun 2022 14:39:37 +0200 Subject: [PATCH] Update artiq/coredevice/phaser.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Robert Jördens --- artiq/coredevice/phaser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/coredevice/phaser.py b/artiq/coredevice/phaser.py index 0bb468e23..3f5e4262c 100644 --- a/artiq/coredevice/phaser.py +++ b/artiq/coredevice/phaser.py @@ -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: