Skip to content

Commit 43f29d3

Browse files
author
nkrackow
committed
fix bracket position
1 parent 0be4816 commit 43f29d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phaser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,10 +342,10 @@ def __init__(self, platform):
342342
If(
343343
servo_enable,
344344
self.dac.data[2 * t][ch].eq(
345-
servo_dsp_i.p >> len(self.dac.data[2 * t][ch] - 1)
345+
servo_dsp_i.p >> len(self.dac.data[2 * t][ch]) - 1
346346
),
347347
self.dac.data[2 * t + 1][ch].eq(
348-
servo_dsp_q.p >> len(self.dac.data[2 * t][ch] - 1)
348+
servo_dsp_q.p >> len(self.dac.data[2 * t][ch]) - 1
349349
),
350350
),
351351
]

0 commit comments

Comments
 (0)