1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 01:18:38 -05:00

LimeRFE feature: fixed settings API

This commit is contained in:
f4exb 2022-08-16 14:52:28 +02:00
parent adea55d41d
commit 0a2fd88ffd

View File

@ -5092,6 +5092,11 @@ bool WebAPIRequestMapper::getFeatureSettings(
featureSettings->setGs232ControllerSettings(new SWGSDRangel::SWGGS232ControllerSettings()); featureSettings->setGs232ControllerSettings(new SWGSDRangel::SWGGS232ControllerSettings());
featureSettings->getGs232ControllerSettings()->fromJsonObject(settingsJsonObject); featureSettings->getGs232ControllerSettings()->fromJsonObject(settingsJsonObject);
} }
else if (featureSettingsKey == "LimeRFESettings")
{
featureSettings->setLimeRfeSettings(new SWGSDRangel::SWGLimeRFESettings());
featureSettings->getLimeRfeSettings()->fromJsonObject(settingsJsonObject);
}
else if (featureSettingsKey == "MapSettings") else if (featureSettingsKey == "MapSettings")
{ {
featureSettings->setMapSettings(new SWGSDRangel::SWGMapSettings()); featureSettings->setMapSettings(new SWGSDRangel::SWGMapSettings());