mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-22 02:47:21 +00:00
Fix icom.c default vfo to usa VFOA/Main as appropriate
https://github.com/Hamlib/Hamlib/issues/654
This commit is contained in:
parent
609c9ad8d5
commit
7ea4fd17aa
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user