mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
HackRF output: fixed setting of Fc pos from REST API. Bumped version
This commit is contained in:
@@ -579,7 +579,7 @@ int HackRFOutput::webapiSettingsPutPatch(
|
||||
}
|
||||
if (deviceSettingsKeys.contains("fcPos"))
|
||||
{
|
||||
int fcPos = response.getHackRfInputSettings()->getFcPos();
|
||||
int fcPos = response.getHackRfOutputSettings()->getFcPos();
|
||||
fcPos = fcPos < 0 ? 0 : fcPos > 2 ? 2 : fcPos;
|
||||
settings.m_fcPos = (HackRFOutputSettings::fcPos_t) fcPos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user