From 6d6b26b99fbf57228f2f2dd025b2ef47a988ee44 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 14 Jul 2016 07:32:27 -0400 Subject: [PATCH] Actually made things worse. --- Storage/Disk/DigitalPhaseLockedLoop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Storage/Disk/DigitalPhaseLockedLoop.cpp b/Storage/Disk/DigitalPhaseLockedLoop.cpp index aae0d6915..7bedb9591 100644 --- a/Storage/Disk/DigitalPhaseLockedLoop.cpp +++ b/Storage/Disk/DigitalPhaseLockedLoop.cpp @@ -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;