kopia lustrzana https://github.com/Hamlib/Hamlib
When rig_set_split_freq_mode is called and RIG_VFO_CURR is requested use default tx_vfo
https://github.com/Hamlib/Hamlib/issues/288pull/290/head
rodzic
718fcdf0c1
commit
ee8dde16ea
|
@ -4521,6 +4521,11 @@ int icom_set_split_freq_mode(RIG *rig, vfo_t vfo, freq_t tx_freq,
|
||||||
"%s: after get_split_vfos rx_vfo=%s tx_vfo=%s\n", __func__,
|
"%s: after get_split_vfos rx_vfo=%s tx_vfo=%s\n", __func__,
|
||||||
rig_strvfo(priv->rx_vfo), rig_strvfo(priv->tx_vfo));
|
rig_strvfo(priv->rx_vfo), rig_strvfo(priv->tx_vfo));
|
||||||
|
|
||||||
|
// if not asking for RIG_VFO_CURR we'll use the requested VFO in the function call
|
||||||
|
if (!priv->split_on && vfo != RIG_VFO_CURR) {
|
||||||
|
tx_vfo = vfo;
|
||||||
|
rig_debug(RIG_DEBUG_TRACE, "%s: split not on so using requested vfo=%s\n", __func__, rig_strvfo(tx_vfo));
|
||||||
|
}
|
||||||
|
|
||||||
if (RIG_OK != (retval = icom_set_vfo(rig, tx_vfo)))
|
if (RIG_OK != (retval = icom_set_vfo(rig, tx_vfo)))
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BACKEND_VER "20200608"
|
#define BACKEND_VER "20200609"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* defines used by comp_cal_str in rig.c
|
* defines used by comp_cal_str in rig.c
|
||||||
|
|
Ładowanie…
Reference in New Issue