1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00

RigCtl Server: REST API fixes

This commit is contained in:
f4exb 2020-09-29 01:46:10 +02:00
parent 9c2e9ccb75
commit 192960d881

View File

@ -4155,6 +4155,10 @@ bool WebAPIRequestMapper::getFeatureSettings(
{ {
featureSettings->setSimplePttSettings(new SWGSDRangel::SWGSimplePTTSettings()); featureSettings->setSimplePttSettings(new SWGSDRangel::SWGSimplePTTSettings());
featureSettings->getSimplePttSettings()->fromJsonObject(settingsJsonObject); featureSettings->getSimplePttSettings()->fromJsonObject(settingsJsonObject);
} else if (featureSettingsKey == "RigCtlServerSettings")
{
featureSettings->setRigCtlServerSettings(new SWGSDRangel::SWGRigCtlServerSettings());
featureSettings->getRigCtlServerSettings()->fromJsonObject(settingsJsonObject);
} }
else else
{ {