Fixing a line in the clock recovery algorithm. This works with a bit larger error...
authorTom Rondeau <trondeau@vt.edu>
Fri, 4 Sep 2009 02:50:43 +0000 (22:50 -0400)
committerTom Rondeau <trondeau@vt.edu>
Fri, 4 Sep 2009 02:50:43 +0000 (22:50 -0400)
gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.cc

index 0efbc8a51afddbfef25760cdb9e5a1b6c9ddcad6..91cbf74c6bf59b9fff636db12b7f02f2f4579c12 100644 (file)
@@ -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++;