1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Web API: RTL-SDR: fixed RF bandwidth setting

This commit is contained in:
f4exb
2018-07-30 00:43:08 +02:00
parent e37c90c8d0
commit 1bb36f6670
6 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -587,7 +587,7 @@ int RTLSDRInput::webapiSettingsPutPatch(
settings.m_transverterMode = response.getRtlSdrSettings()->getTransverterMode() != 0;
}
if (deviceSettingsKeys.contains("rfBandwidth")) {
settings.m_rfBandwidth = response.getRtlSdrSettings()->getRfBandwidth() != 0;
settings.m_rfBandwidth = response.getRtlSdrSettings()->getRfBandwidth();
}
if (deviceSettingsKeys.contains("fileRecordName")) {
settings.m_fileRecordName = *response.getRtlSdrSettings()->getFileRecordName();