Fix VFO_CURR return from vfo_fixup

https://github.com/Hamlib/Hamlib/issues/274
This commit is contained in:
Michael Black 2020-06-01 17:07:20 -05:00
parent 51ff03a638
commit 567cd7145e

View File

@ -197,7 +197,7 @@ static vfo_t vfo_fixup(RIG *rig, vfo_t vfo)
if (vfo == RIG_VFO_CURR)
{
rig_debug(RIG_DEBUG_TRACE, "%s: Leaving currVFO alone\n", __func__);
return RIG_OK; // don't modify vfo for RIG_VFO_CURR
return vfo; // don't modify vfo for RIG_VFO_CURR
}
if (vfo == RIG_VFO_RX)