diff options
Diffstat (limited to 'gnuradio-core/src')
-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()) |