1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -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
@@ -34,8 +34,8 @@ int USRPInputWebAPIAdapter::webapiSettingsGet(
QString& errorMessage)
{
(void) errorMessage;
response.setAirspyHfSettings(new SWGSDRangel::SWGAirspyHFSettings());
response.getAirspyHfSettings()->init();
response.setUsrpInputSettings(new SWGSDRangel::SWGUSRPInputSettings());
response.getUsrpInputSettings()->init();
USRPInput::webapiFormatDeviceSettings(response, m_settings);
return 200;
}