push before merge

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

View File

@ -178,13 +178,6 @@ public:
} }
} }
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) {
if (id >= 2 || id < 0) { if (id >= 2 || id < 0) {
deemp.bypass = true; deemp.bypass = true;
@ -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;