1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

HackRF output: fixed setting of Fc pos from REST API. Bumped version

This commit is contained in:
f4exb
2019-04-16 01:00:50 +02:00
parent bbcae92a0b
commit c856d4035f
5 changed files with 10 additions and 4 deletions
@@ -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;
}