kopia lustrzana https://github.com/Hamlib/Hamlib
Fix cppcheck warnings in ssb.h
rodzic
1e84a82b63
commit
a986bee8b1
|
@ -38,7 +38,7 @@ class USBDemodChainCF : public DemodChainCF {
|
||||||
|
|
||||||
low_cutoff = 300;
|
low_cutoff = 300;
|
||||||
// centerfreq, relative to IF_center_freq
|
// centerfreq, relative to IF_center_freq
|
||||||
centerfreq += (freq_t)(low_cutoff + width/2);
|
// centerfreq += (freq_t)(low_cutoff + width/2);
|
||||||
|
|
||||||
s_demod = new GrSSBMod<d_oType>(2*M_PI*(low_cutoff+width/2)/(double)input_rate,1.0);
|
s_demod = new GrSSBMod<d_oType>(2*M_PI*(low_cutoff+width/2)/(double)input_rate,1.0);
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class LSBDemodChainCF : public DemodChainCF {
|
||||||
|
|
||||||
low_cutoff = 300;
|
low_cutoff = 300;
|
||||||
// centerfreq, relative to IF_center_freq
|
// centerfreq, relative to IF_center_freq
|
||||||
centerfreq += (freq_t)(-low_cutoff - width/2);
|
//centerfreq += (freq_t)(-low_cutoff - width/2);
|
||||||
|
|
||||||
s_demod = new GrSSBMod<d_oType>(-2*M_PI*(low_cutoff+width/2)/(double)input_rate,1.0);
|
s_demod = new GrSSBMod<d_oType>(-2*M_PI*(low_cutoff+width/2)/(double)input_rate,1.0);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue