summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
diff options
context:
space:
mode:
authorjcorgan2009-03-30 00:19:42 +0000
committerjcorgan2009-03-30 00:19:42 +0000
commit348e192734854045b55e182f85ab630115766870 (patch)
tree3915f214ef301908aa3a079db850718b6243f385 /gnuradio-core/src/lib/general
parenta811a7f070ae087aceb5443d2021d691398be2a0 (diff)
downloadgnuradio-348e192734854045b55e182f85ab630115766870.tar.gz
gnuradio-348e192734854045b55e182f85ab630115766870.tar.bz2
gnuradio-348e192734854045b55e182f85ab630115766870.zip
Applied phase jump patch from Stefan Bruens. Fixes erratic performance of phase recovery loop at higher frequency offsets.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10702 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src/lib/general')
-rw-r--r--gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.cc b/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.cc
index cdb5bdc0e..e1580ffb5 100644
--- a/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.cc
+++ b/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.cc
@@ -257,7 +257,7 @@ gr_mpsk_receiver_cc::phase_error_tracking(gr_complex sample)
phase_error = gr_branchless_clip(phase_error, 1.0);
d_freq += d_beta*phase_error; // adjust frequency based on error
- d_phase += d_freq + d_alpha*phase_error; // adjust phase based on error
+ d_phase += d_alpha*phase_error; // adjust phase based on error
// Make sure we stay within +-2pi
while(d_phase > M_TWOPI)