mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
unflip logic..
This commit is contained in:
parent
3f8a221c76
commit
2e834cf406
@ -1094,7 +1094,7 @@ class PhaserChannel:
|
||||
raise ValueError("invalid profile index")
|
||||
addr = PHASER_ADDR_SERVO_CFG0 + self.index
|
||||
# enforce hold if the servo is bypassed
|
||||
data = (profile << 2) | (((hold | bypass) & 1) << 1) | (bypass & 1)
|
||||
data = (profile << 2) | (((hold | bypass) & 1) << 1) | (~bypass & 1)
|
||||
self.phaser.write8(addr, data)
|
||||
|
||||
@kernel
|
||||
|
Loading…
Reference in New Issue
Block a user