Skip to content

Commit

Permalink
[CLK] sync/phase
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmxmx committed Aug 1, 2017
1 parent 7e5eaca commit 5266b89
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion soft/t_u_REV/APP_CLK.ino
Expand Up @@ -1022,7 +1022,12 @@ public:
CONSTRAIN(_phase, 0, PHASEOFFSET_MAX);
}
}
else _phase = 0x0;
else {
// pending sync: set _phase to zero and skip just to make sure nothing funny happens
if (prev_phase_)
skip_reset_ = true;
_phase = 0x0;
}

// 5. increase latency?
trigger_delay_.Update();
Expand Down

0 comments on commit 5266b89

Please sign in to comment.