Fixed VFO bandwidth not adjustable after disabling new radio module

This commit is contained in:
AlexandreRouma 2021-12-05 19:28:41 +01:00
parent cdc060aa2a
commit 7208028c01

View File

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