mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2026-04-19 14:52:43 +00:00
Fixed bug with radio
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
||||
|
||||
squelch.init(_vfo->output, squelchLevel);
|
||||
|
||||
demod.init(&squelch.out, bbSampRate, bandWidth, dsp::SSBDemod::MODE_USB);
|
||||
demod.init(&squelch.out, bbSampRate, bw, dsp::SSBDemod::MODE_USB);
|
||||
|
||||
agc.init(&demod.out, 20.0f, bbSampRate);
|
||||
|
||||
@@ -131,6 +131,7 @@ public:
|
||||
ImGui::SameLine();
|
||||
ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX());
|
||||
if (ImGui::InputFloat(("##_radio_usb_snap_" + uiPrefix).c_str(), &snapInterval, 1, 100, "%.0f", 0)) {
|
||||
if (snapInterval < 1) { snapInterval = 1; }
|
||||
setSnapInterval(snapInterval);
|
||||
_config->aquire();
|
||||
_config->conf[uiPrefix]["USB"]["snapInterval"] = snapInterval;
|
||||
|
||||
Reference in New Issue
Block a user