Skip to content

Commit

Permalink
Align trigger to left
Browse files Browse the repository at this point in the history
Fix alignment of digitizer triggers
  • Loading branch information
dieris committed Nov 30, 2016
1 parent 8dba14a commit 6b9e5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QGL/Compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ def flatten_to_pulses(obj):
if padLength == 0:
# no padding element required
return pulses
elif alignment == "left":
elif alignment == "left" or pulse.label == 'TRIG':
return pulses + [Id(channel, padLength)]
elif alignment == "right":
return [Id(channel, padLength)] + pulses
Expand Down

0 comments on commit 6b9e5b0

Please sign in to comment.