1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-30 22:29:56 +00:00

Actually made things worse.

This commit is contained in:
Thomas Harte 2016-07-14 07:32:27 -04:00
parent d8d3464c56
commit 6d6b26b99f

View File

@ -67,7 +67,7 @@ void DigitalPhaseLockedLoop::add_pulse()
for(size_t pulse = 1; pulse < _length_of_history; pulse++)
{
_pulse_history_array[pulse - 1] = _pulse_history_array[pulse] - _current_window_length;
_pulse_history_array[pulse - 1] = _pulse_history_array[pulse] - outgoing_pulse_time;
}
_next_pulse_time -= outgoing_pulse_time;
_pulse_history_array[_length_of_history-1] = _next_pulse_time;