2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

fix old line that I forgot

This commit is contained in:
SingularitySurfer 2022-06-21 07:43:28 +00:00
parent 5df766e6da
commit 751af3144e

View File

@ -1073,9 +1073,7 @@ class PhaserChannel:
data = 1
if hold == 1:
data = data | (1 << 1)
if bypass:
hold = 1
data = (profile << 2) | (hold << 1) | (bypass << 0)
data = data | (profile << 2)
self.phaser.write8(addr, data)
@kernel