diff --git a/radio/src/wfm_demod.h b/radio/src/wfm_demod.h index cabefa09..542dfec5 100644 --- a/radio/src/wfm_demod.h +++ b/radio/src/wfm_demod.h @@ -176,13 +176,6 @@ public: _config->conf[uiPrefix]["WFM"]["squelchLevel"] = squelchLevel; _config->release(true); } - } - -private: - void setBandwidth(float bandWidth, bool updateWaterfall = true) { - bw = bandWidth; - _vfo->setBandwidth(bw, updateWaterfall); - demod.setDeviation(bw / 2.0f); } void setDeempIndex(int id) { @@ -199,6 +192,13 @@ private: _vfo->setSnapInterval(snapInterval); } +private: + void setBandwidth(float bandWidth, bool updateWaterfall = true) { + bw = bandWidth; + _vfo->setBandwidth(bw, updateWaterfall); + demod.setDeviation(bw / 2.0f); + } + const float bwMax = 250000; const float bwMin = 50000; const float bbSampRate = 250000;