During rig_set_split_mode and non-targetable mode we will turn off split, set mode, and turn split back on. This should prevent some ugly flashing on Yaesu rigs

https://github.com/Hamlib/Hamlib/issues/838
pull/875/head
Mike Black W9MDB 2021-11-01 22:15:50 -05:00
rodzic 52e0840f1d
commit 603223d493
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -4226,6 +4226,7 @@ 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;
@ -4297,6 +4298,7 @@ int HAMLIB_API rig_set_split_mode(RIG *rig,
/* return the first error code */
retcode = rc2;
}
rig_set_split_vfo(rig,RIG_VFO_CURR, RIG_SPLIT_ON, RIG_VFO_CURR);
RETURNFUNC(retcode);
}