diff options
author | matt | 2006-09-11 21:48:35 +0000 |
---|---|---|
committer | matt | 2006-09-11 21:48:35 +0000 |
commit | 23703f65f0d1cb5e1245a8448d59c1462659fc91 (patch) | |
tree | 42a610397201890a4f119cabbedebee8e473186e /gnuradio-core | |
parent | b15586bbab01e39cc5b888413abbc4c2a19d1ab4 (diff) | |
download | gnuradio-23703f65f0d1cb5e1245a8448d59c1462659fc91.tar.gz gnuradio-23703f65f0d1cb5e1245a8448d59c1462659fc91.tar.bz2 gnuradio-23703f65f0d1cb5e1245a8448d59c1462659fc91.zip |
make this block do what it says its doing. Patch from Henryk Plötz, henryk _at_ ploetzli.ch
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3523 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core')
-rw-r--r-- | gnuradio-core/src/lib/general/gr_pll_carriertracking_cc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/general/gr_pll_carriertracking_cc.cc b/gnuradio-core/src/lib/general/gr_pll_carriertracking_cc.cc index 4736e77cf..b6187aca9 100644 --- a/gnuradio-core/src/lib/general/gr_pll_carriertracking_cc.cc +++ b/gnuradio-core/src/lib/general/gr_pll_carriertracking_cc.cc @@ -107,7 +107,7 @@ gr_pll_carriertracking_cc::work (int noutput_items, else if (d_freq < d_min_freq) d_freq = d_min_freq; gr_sincosf(d_phase,&t_imag,&t_real); - optr[i] = gr_complex(t_real,t_imag); + optr[i] = iptr[i] * gr_complex(t_real,-t_imag); d_locksig = d_locksig * (1.0 - d_alpha) + d_alpha*(iptr[i].real() * t_real + iptr[i].imag() * t_imag); if ((d_squelch_enable) && !lock_detector()) |