1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 14:04:46 -04:00

Fixed wrong structure being used in some sample source and sink plugins web API adapters. Fixes #842

This commit is contained in:
f4exb
2021-04-15 15:27:03 +02:00
parent 38883de29e
commit 76f09a17a7
28 changed files with 56 additions and 56 deletions
@@ -33,8 +33,8 @@ int FCDProPlusWebAPIAdapter::webapiSettingsGet(
QString& errorMessage)
{
(void) errorMessage;
response.setAirspyHfSettings(new SWGSDRangel::SWGAirspyHFSettings());
response.getAirspyHfSettings()->init();
response.setFcdProPlusSettings(new SWGSDRangel::SWGFCDProPlusSettings());
response.getFcdProPlusSettings()->init();
FCDProPlusInput::webapiFormatDeviceSettings(response, m_settings);
return 200;
}