mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-04-06 11:39:02 -04:00
Reverse API: Fixed FCD Pro+ rf filter index
This commit is contained in:
parent
d9d4baa541
commit
a6a0079049
@ -402,6 +402,8 @@ void FCDProPlusInput::applySettings(const FCDProPlusSettings& settings, bool for
|
||||
|
||||
if ((m_settings.m_rfFilterIndex != settings.m_rfFilterIndex) || force)
|
||||
{
|
||||
reverseAPIKeys.append("rfFilterIndex");
|
||||
|
||||
if (m_dev != 0) {
|
||||
set_rf_filter(settings.m_rfFilterIndex);
|
||||
}
|
||||
@ -688,6 +690,9 @@ void FCDProPlusInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKe
|
||||
if (deviceSettingsKeys.contains("ifFilterIndex") || force) {
|
||||
swgFCDProPlusSettings->setIfFilterIndex(settings.m_ifFilterIndex);
|
||||
}
|
||||
if (deviceSettingsKeys.contains("rfFilterIndex") || force) {
|
||||
swgFCDProPlusSettings->setRfFilterIndex(settings.m_rfFilterIndex);
|
||||
}
|
||||
if (deviceSettingsKeys.contains("LOppmTenths") || force) {
|
||||
swgFCDProPlusSettings->setLOppmTenths(settings.m_LOppmTenths);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user