1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 15:34:57 -04:00

v7: VORDemodSC to VORDemod conversion in swagger. Part of #1223

This commit is contained in:
f4exb
2022-05-01 12:15:03 +02:00
parent ca44e253ec
commit 42980850ce
22 changed files with 554 additions and 219 deletions
+4 -4
View File
@@ -4364,8 +4364,8 @@ bool WebAPIRequestMapper::getChannelSettings(
}
else if (channelSettingsKey == "VORDemodSettings")
{
channelSettings->setVorDemodScSettings(new SWGSDRangel::SWGVORDemodSCSettings());
channelSettings->getVorDemodScSettings()->fromJsonObject(settingsJsonObject);
channelSettings->setVorDemodSettings(new SWGSDRangel::SWGVORDemodSettings());
channelSettings->getVorDemodSettings()->fromJsonObject(settingsJsonObject);
}
else if (channelSettingsKey == "WFMDemodSettings")
{
@@ -5083,7 +5083,7 @@ void WebAPIRequestMapper::resetChannelSettings(SWGSDRangel::SWGChannelSettings&
channelSettings.setUdpSourceSettings(nullptr);
channelSettings.setUdpSinkSettings(nullptr);
channelSettings.setVorDemodMcSettings(nullptr);
channelSettings.setVorDemodScSettings(nullptr);
channelSettings.setVorDemodSettings(nullptr);
channelSettings.setWfmDemodSettings(nullptr);
channelSettings.setWfmModSettings(nullptr);
}
@@ -5115,7 +5115,7 @@ void WebAPIRequestMapper::resetChannelReport(SWGSDRangel::SWGChannelReport& chan
channelReport.setUdpSourceReport(nullptr);
channelReport.setUdpSinkReport(nullptr);
channelReport.setVorDemodMcReport(nullptr);
channelReport.setVorDemodScReport(nullptr);
channelReport.setVorDemodReport(nullptr);
channelReport.setWfmDemodReport(nullptr);
channelReport.setWfmModReport(nullptr);
}