mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
Web API: fixed webapiSettingsGet not initializing own channel or device structure
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user