summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau2009-09-03 22:50:43 -0400
committerTom Rondeau2009-09-03 22:50:43 -0400
commit302686ace014d7be82812c218121f00f5b28cdd1 (patch)
tree4ce8ecc945a940213cf5677b0c369986d6e05c96
parent8ab7688ba545c153bcdebe6e273570df569b133c (diff)
downloadgnuradio-302686ace014d7be82812c218121f00f5b28cdd1.tar.gz
gnuradio-302686ace014d7be82812c218121f00f5b28cdd1.tar.bz2
gnuradio-302686ace014d7be82812c218121f00f5b28cdd1.zip
Fixing a line in the clock recovery algorithm. This works with a bit larger error than there proably should be.
-rw-r--r--gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.cc b/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.cc
index 0efbc8a51..91cbf74c6 100644
--- a/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.cc
+++ b/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.cc
@@ -226,7 +226,6 @@ gr_pfb_clock_sync_ccf::general_work (int noutput_items,
if(newfilter != (int)d_last_filter)
d_acc = 0.5;
- d_last_filter = newfilter % d_nfilters;
if(newfilter >= (int)d_nfilters) {
d_last_filter = newfilter - d_nfilters;
count++;