push before merge

This commit is contained in:
Ryzerth 2021-04-24 20:58:33 +02:00
parent 2a22a125bb
commit dec16eeb87

View File

@ -176,13 +176,6 @@ public:
_config->conf[uiPrefix]["WFM"]["squelchLevel"] = squelchLevel; _config->conf[uiPrefix]["WFM"]["squelchLevel"] = squelchLevel;
_config->release(true); _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) { void setDeempIndex(int id) {
@ -199,6 +192,13 @@ private:
_vfo->setSnapInterval(snapInterval); _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 bwMax = 250000;
const float bwMin = 50000; const float bwMin = 50000;
const float bbSampRate = 250000; const float bbSampRate = 250000;