From dc49372d57d0e1a3d6e025a230f53af49c7db422 Mon Sep 17 00:00:00 2001 From: Norman Krackow Date: Fri, 17 Jun 2022 14:40:07 +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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/artiq/coredevice/phaser.py b/artiq/coredevice/phaser.py index 3f5e4262c..e696fa227 100644 --- a/artiq/coredevice/phaser.py +++ b/artiq/coredevice/phaser.py @@ -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