mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 13:47:01 -04:00
M17 Modulator: copy of NFM modulator
This commit is contained in:
@@ -4516,16 +4516,21 @@ bool WebAPIRequestMapper::getChannelSettings(
|
||||
channelSettings->setInterferometerSettings(new SWGSDRangel::SWGInterferometerSettings());
|
||||
channelSettings->getInterferometerSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (channelSettingsKey == "NFMDemodSettings")
|
||||
{
|
||||
channelSettings->setNfmDemodSettings(new SWGSDRangel::SWGNFMDemodSettings());
|
||||
channelSettings->getNfmDemodSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (channelSettingsKey == "M17DemodSettings")
|
||||
{
|
||||
channelSettings->setM17DemodSettings(new SWGSDRangel::SWGM17DemodSettings());
|
||||
channelSettings->getM17DemodSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (channelSettingsKey == "M17ModSettings")
|
||||
{
|
||||
channelSettings->setM17ModSettings(new SWGSDRangel::SWGM17ModSettings());
|
||||
channelSettings->getM17ModSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (channelSettingsKey == "NFMDemodSettings")
|
||||
{
|
||||
channelSettings->setNfmDemodSettings(new SWGSDRangel::SWGNFMDemodSettings());
|
||||
channelSettings->getNfmDemodSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (channelSettingsKey == "NFMModSettings")
|
||||
{
|
||||
channelSettings->setNfmModSettings(new SWGSDRangel::SWGNFMModSettings());
|
||||
|
||||
Reference in New Issue
Block a user