mirror of
https://github.com/TomHarte/CLK.git
synced 2024-10-02 19:54:35 +00:00
Actually made things worse.
This commit is contained in:
parent
d8d3464c56
commit
6d6b26b99f
@ -67,7 +67,7 @@ void DigitalPhaseLockedLoop::add_pulse()
|
|||||||
|
|
||||||
for(size_t pulse = 1; pulse < _length_of_history; 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;
|
_next_pulse_time -= outgoing_pulse_time;
|
||||||
_pulse_history_array[_length_of_history-1] = _next_pulse_time;
|
_pulse_history_array[_length_of_history-1] = _next_pulse_time;
|
||||||
|
Loading…
Reference in New Issue
Block a user