mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Fixed wrong structure being used in some sample source and sink plugins web API adapters. Fixes #842
This commit is contained in:
@@ -33,8 +33,8 @@ int BladeRF1InputWebAPIAdapter::webapiSettingsGet(
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setAirspyHfSettings(new SWGSDRangel::SWGAirspyHFSettings());
|
||||
response.getAirspyHfSettings()->init();
|
||||
response.setBladeRf1InputSettings(new SWGSDRangel::SWGBladeRF1InputSettings());
|
||||
response.getBladeRf1InputSettings()->init();
|
||||
Bladerf1Input::webapiFormatDeviceSettings(response, m_settings);
|
||||
return 200;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user