kopia lustrzana https://github.com/Hamlib/Hamlib
Fix set_vfo for non TARGETABLE_FREQ rigs like the FT100
Was not setting VFOB when requested https://github.com/Hamlib/Hamlib/issues/812pull/816/head
rodzic
7c42d6ddb0
commit
da87903e3c
|
@ -1924,6 +1924,15 @@ int HAMLIB_API rig_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
|
|||
RETURNFUNC(-RIG_ENAVAIL);
|
||||
}
|
||||
|
||||
retcode = rig_set_vfo(rig, vfo);
|
||||
|
||||
if (retcode != RIG_OK)
|
||||
{
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: set_vfo failed: %s\n", __func__,
|
||||
rig_strerror(retcode));
|
||||
}
|
||||
|
||||
|
||||
if (twiddling(rig))
|
||||
{
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: Ignoring set_freq due to VFO twiddling\n",
|
||||
|
|
Ładowanie…
Reference in New Issue