kopia lustrzana https://github.com/Hamlib/Hamlib
Fix some cppcheck warnings in gnuradio
rodzic
f2992dfa0b
commit
9ab1b426ce
|
@ -60,7 +60,7 @@ class LSBDemodChainCF : public DemodChainCF {
|
||||||
LSBDemodChainCF (VrSource<d_iType> *src, VrSink<d_oType> *snk, rmode_t mode, pbwidth_t width, int input_rate, freq_t centerfreq = 0) :
|
LSBDemodChainCF (VrSource<d_iType> *src, VrSink<d_oType> *snk, rmode_t mode, pbwidth_t width, int input_rate, freq_t centerfreq = 0) :
|
||||||
DemodChainCF(src, snk, mode, width, input_rate, centerfreq) {
|
DemodChainCF(src, snk, mode, width, input_rate, centerfreq) {
|
||||||
|
|
||||||
float 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);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue