1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -05:00

Fix WebAPI settings for identThreshold and magDecAdjust

This commit is contained in:
Jon Beniston 2021-01-13 17:11:21 +00:00
parent 41fca9d2fd
commit 1adfe3415c

View File

@ -473,10 +473,10 @@ void VORDemod::webapiFormatChannelSettings(
swgVORDemodSettings->setStreamIndex(settings.m_streamIndex);
}
if (channelSettingsKeys.contains("identThreshold") || force) {
swgVORDemodSettings->setAudioMute(settings.m_identThreshold);
swgVORDemodSettings->setIdentThreshold(settings.m_identThreshold);
}
if (channelSettingsKeys.contains("magDecAdjust") || force) {
swgVORDemodSettings->setAudioMute(settings.m_magDecAdjust ? 1 : 0);
swgVORDemodSettings->setMagDecAdjust(settings.m_magDecAdjust ? 1 : 0);
}
}