Fixed VFO bandwidth not adjustable after disabling new radio module

pull/538/head
AlexandreRouma 2021-12-05 19:28:41 +01:00
rodzic cdc060aa2a
commit 7208028c01
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -115,6 +115,7 @@ public:
enabled = true;
if (!vfo) {
vfo = sigpath::vfoManager.createVFO(name, ImGui::WaterfallVFO::REF_CENTER, 0, 200000, 200000, 50000, 200000, false);
vfo->wtfVFO->onUserChangedBandwidth.bindHandler(&onUserChangedBandwidthHandler);
}
selectDemodByID((DemodID)selectedDemodID);
}
@ -436,7 +437,7 @@ private:
}
EventHandler<double> onUserChangedBandwidthHandler;
VFOManager::VFO* vfo;
VFOManager::VFO* vfo = NULL;
dsp::Squelch squelch;
dsp::filter_window::BlackmanWindow win;