kopia lustrzana https://github.com/Hamlib/Hamlib
Fix icom.c default vfo to usa VFOA/Main as appropriate
https://github.com/Hamlib/Hamlib/issues/654pull/658/head
rodzic
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)
|
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)
|
if (retval != RIG_OK)
|
||||||
{
|
{
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BACKEND_VER "20210330"
|
#define BACKEND_VER "20210408"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* defines used by comp_cal_str in rig.c
|
* defines used by comp_cal_str in rig.c
|
||||||
|
|
Ładowanie…
Reference in New Issue