Skip to content

Commit

Permalink
Match APS2 hardware for modulation starting point
Browse files Browse the repository at this point in the history
  • Loading branch information
caryan committed May 3, 2016
1 parent 8cfc669 commit 7c6da76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QGL/drivers/APS2Pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def read_sequence_file(fileName):
if (instr.opcode == WAIT) | (instr.opcode == SYNC) | ((instr.opcode) == MODULATION and (modulator_opcode == 0x0) ):
for ct in range(NUM_NCO):
if reset_flag[ct]:
accumulated_phase[ct] = 0
accumulated_phase[ct] = freq[ct] * ADDRESS_UNIT #would expect this to be zero but this is first non-zero point
reset_flag[ct] = False
freq = next_freq
phase = next_phase
Expand Down

0 comments on commit 7c6da76

Please sign in to comment.