kopia lustrzana https://github.com/Hamlib/Hamlib
In rig.c set rxvfo and txvfo to current if currvfo is requested
https://github.com/Hamlib/Hamlib/issues/838pull/875/head
rodzic
057788b300
commit
e7530643a0
|
@ -4697,6 +4697,15 @@ int HAMLIB_API rig_set_split_vfo(RIG *rig,
|
||||||
{
|
{
|
||||||
rx_vfo = vfo_fixup(rig, rx_vfo, split);
|
rx_vfo = vfo_fixup(rig, rx_vfo, split);
|
||||||
tx_vfo = vfo_fixup(rig, tx_vfo, split);
|
tx_vfo = vfo_fixup(rig, tx_vfo, split);
|
||||||
|
if (rx_vfo == RIG_VFO_CURR)
|
||||||
|
{
|
||||||
|
rx_vfo = rig->state.current_vfo;
|
||||||
|
}
|
||||||
|
if (tx_vfo == RIG_VFO_CURR)
|
||||||
|
{
|
||||||
|
tx_vfo = rig->state.tx_vfo;
|
||||||
|
}
|
||||||
|
rig_debug(RIG_DEBUG_VERBOSE, "%s: final rxvfo=%s, txvfo=%s\n", __func__, rig_strvfo(rx_vfo), rig_strvfo(tx_vfo));
|
||||||
}
|
}
|
||||||
|
|
||||||
// set rig to the the requested RX VFO
|
// set rig to the the requested RX VFO
|
||||||
|
|
Ładowanie…
Reference in New Issue