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

Web API: fixed webapiSettingsGet not initializing own channel or device structure

This commit is contained in:
f4exb
2018-02-21 13:50:50 +01:00
parent 58086b422b
commit 0ce9035e0a
8 changed files with 8 additions and 1 deletions
@@ -1265,6 +1265,7 @@ int LimeSDRInput::webapiSettingsGet(
QString& errorMessage __attribute__((unused)))
{
response.setLimeSdrInputSettings(new SWGSDRangel::SWGLimeSdrInputSettings());
response.getLimeSdrInputSettings()->init();
webapiFormatDeviceSettings(response, m_settings);
return 200;
}