From a986bee8b1ffc173242a93eca89ec36ede821ee5 Mon Sep 17 00:00:00 2001 From: Michael Black Date: Tue, 14 Jan 2020 08:29:49 -0600 Subject: [PATCH] Fix cppcheck warnings in ssb.h --- gnuradio/ssb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnuradio/ssb.h b/gnuradio/ssb.h index b97adc6c1..3815dfc6c 100644 --- a/gnuradio/ssb.h +++ b/gnuradio/ssb.h @@ -38,7 +38,7 @@ class USBDemodChainCF : public DemodChainCF { low_cutoff = 300; // centerfreq, relative to IF_center_freq - centerfreq += (freq_t)(low_cutoff + width/2); + // centerfreq += (freq_t)(low_cutoff + width/2); s_demod = new GrSSBMod(2*M_PI*(low_cutoff+width/2)/(double)input_rate,1.0); @@ -62,7 +62,7 @@ class LSBDemodChainCF : public DemodChainCF { low_cutoff = 300; // centerfreq, relative to IF_center_freq - centerfreq += (freq_t)(-low_cutoff - width/2); + //centerfreq += (freq_t)(-low_cutoff - width/2); s_demod = new GrSSBMod(-2*M_PI*(low_cutoff+width/2)/(double)input_rate,1.0);