kopia lustrzana https://github.com/Hamlib/Hamlib
In rig_set_split_mode and rig mode is not targetable we disable split, set mode, and re-enable to avoid vfo flashing.
This disable is moved behind the targetable mode now as it should not be required in that case https://github.com/Hamlib/Hamlib/issues/863pull/875/head
rodzic
61141126c1
commit
e64a128f3a
|
@ -4272,7 +4272,6 @@ int HAMLIB_API rig_set_split_mode(RIG *rig,
|
|||
RETURNFUNC(retcode);
|
||||
}
|
||||
|
||||
rig_set_split_vfo(rig,RIG_VFO_CURR, RIG_SPLIT_OFF, RIG_VFO_CURR);
|
||||
/* Assisted mode */
|
||||
curr_vfo = rig->state.current_vfo;
|
||||
|
||||
|
@ -4294,7 +4293,9 @@ int HAMLIB_API rig_set_split_mode(RIG *rig,
|
|||
RETURNFUNC(retcode);
|
||||
}
|
||||
|
||||
|
||||
// some rigs exhibit undesirable flashing when swapping vfos in split
|
||||
// so we turn it off, do our thing, and turn split back on
|
||||
rig_set_split_vfo(rig,RIG_VFO_CURR, RIG_SPLIT_OFF, RIG_VFO_CURR);
|
||||
if (caps->set_vfo)
|
||||
{
|
||||
TRACE;
|
||||
|
|
Ładowanie…
Reference in New Issue