summaryrefslogtreecommitdiff
path: root/gr-digital/lib/symbol_sync_cc_impl.cc
diff options
context:
space:
mode:
authorAndy Walls <awalls.cx18@gmail.com>2019-01-21 19:18:39 -0500
committerMartin Braun <martin.braun@ettus.com>2019-02-17 11:12:54 -0800
commitf863efb1a9d3f535f0b51647cab22ce08379a6be (patch)
tree79dc064c18bf89fd2a5afde0800b1dd976f0d54b /gr-digital/lib/symbol_sync_cc_impl.cc
parent3864d35f53a79bd201a1d1da4e7c30533793a6c9 (diff)
gr-digital: Prevent the clock tracking loop from generating negative estimates
Under extreme circumstances of the error signal input, the clock tracking loop would allow the average clock period and instantaneous clock period estimates to go negative, resulting in an infinite loop when wrapping the clock phase. Change clock period estimate limiting to happen when the estimates are being formed, so that the negative, non-sensical values aren't allowed to happen.
Diffstat (limited to 'gr-digital/lib/symbol_sync_cc_impl.cc')
-rw-r--r--gr-digital/lib/symbol_sync_cc_impl.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gr-digital/lib/symbol_sync_cc_impl.cc b/gr-digital/lib/symbol_sync_cc_impl.cc
index e00edeeeb8..c9e44c708b 100644
--- a/gr-digital/lib/symbol_sync_cc_impl.cc
+++ b/gr-digital/lib/symbol_sync_cc_impl.cc
@@ -538,7 +538,6 @@ namespace gr {
d_inst_clock_period = d_clock->get_inst_period();
d_avg_clock_period = d_clock->get_avg_period();
d_clock->phase_wrap();
- d_clock->period_limit();
// Symbol Clock and Interpolator Positioning & Alignment
d_inst_interp_period = d_inst_clock_period / d_interps_per_symbol;