Fix cppcheck warnings in ssb.h

pull/174/head
Michael Black 2020-01-14 08:29:49 -06:00
rodzic 1e84a82b63
commit a986bee8b1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6599353EC683404D
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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);