diff --git a/plugins/samplesource/hackrfinput/hackrfinputwebapiadapter.cpp b/plugins/samplesource/hackrfinput/hackrfinputwebapiadapter.cpp index 2a0d95102..b18d109fd 100644 --- a/plugins/samplesource/hackrfinput/hackrfinputwebapiadapter.cpp +++ b/plugins/samplesource/hackrfinput/hackrfinputwebapiadapter.cpp @@ -33,8 +33,8 @@ int HackRFInputWebAPIAdapter::webapiSettingsGet( QString& errorMessage) { (void) errorMessage; - response.setAirspyHfSettings(new SWGSDRangel::SWGAirspyHFSettings()); - response.getAirspyHfSettings()->init(); + response.setHackRfInputSettings(new SWGSDRangel::SWGHackRFInputSettings()); + response.getHackRfInputSettings()->init(); HackRFInput::webapiFormatDeviceSettings(response, m_settings); return 200; }