1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -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
@@ -473,6 +473,7 @@ int HackRFOutput::webapiSettingsGet(
QString& errorMessage __attribute__((unused)))
{
response.setHackRfOutputSettings(new SWGSDRangel::SWGHackRFOutputSettings());
response.getHackRfOutputSettings()->init();
webapiFormatDeviceSettings(response, m_settings);
return 200;
}