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
@@ -553,6 +553,7 @@ int HackRFInput::webapiSettingsGet(
QString& errorMessage __attribute__((unused)))
{
response.setHackRfInputSettings(new SWGSDRangel::SWGHackRFInputSettings());
response.getHackRfInputSettings()->init();
webapiFormatDeviceSettings(response, m_settings);
return 200;
}