Fix icom.c default vfo to usa VFOA/Main as appropriate

https://github.com/Hamlib/Hamlib/issues/654
pull/658/head
Mike Black W9MDB 2021-04-08 22:37:36 -05:00
rodzic 609c9ad8d5
commit 7ea4fd17aa
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -1251,7 +1251,9 @@ int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
if (rig->state.current_vfo == RIG_VFO_NONE)
{
retval = rig_set_vfo(rig, RIG_VFO_A); // we default to VFOA
// we default to VFOA/MAIN as appropriate
vfo = (rig->state.vfo_list & RIG_VFO_B) ? RIG_VFO_A : RIG_VFO_MAIN;
retval = rig_set_vfo(rig, vfo);
if (retval != RIG_OK)
{

Wyświetl plik

@ -30,7 +30,7 @@
#include <sys/time.h>
#endif
#define BACKEND_VER "20210330"
#define BACKEND_VER "20210408"
/*
* defines used by comp_cal_str in rig.c