This commit is contained in:
srcejon 2024-03-13 16:14:47 +00:00
parent d45058d08f
commit 6a2a4d1281
1 changed files with 2 additions and 2 deletions

View File

@ -4481,8 +4481,8 @@ bool WebAPIRequestMapper::getChannelSettings(
else if (channelSettingsKey == "ChannelPowerSettings")
{
channelSettings->setChannelPowerSettings(new SWGSDRangel::SWGChannelPowerSettings());
channelSettings->setChannelPowerSettings()->init();
channelSettings->setChannelPowerSettings()->fromJsonObject(settingsJsonObject);
channelSettings->getChannelPowerSettings()->init();
channelSettings->getChannelPowerSettings()->fromJsonObject(settingsJsonObject);
}
else if (channelSettingsKey == "ChirpChatDemodSettings")
{