kopia lustrzana https://github.com/Hamlib/Hamlib
In icom.c add check for current vfo to avoid vfo swapping
https://github.com/Hamlib/Hamlib/issues/665 https://github.com/Hamlib/Hamlib/issues/654pull/680/head
rodzic
cd82a2c008
commit
870b9ca748
|
@ -2105,7 +2105,7 @@ int icom_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
|
||||||
// reason is we can't get width without swapping vfos -- yuck!!
|
// reason is we can't get width without swapping vfos -- yuck!!
|
||||||
if (width != NULL)
|
if (width != NULL)
|
||||||
{
|
{
|
||||||
if (vfo & (RIG_VFO_A | RIG_VFO_MAIN | RIG_VFO_SUB_A | RIG_VFO_MAIN_A))
|
if (vfo & (RIG_VFO_A | RIG_VFO_MAIN | RIG_VFO_SUB_A | RIG_VFO_MAIN_A | RIG_VFO_CURR))
|
||||||
{
|
{
|
||||||
// then we get our current vfo..i.e. VFOA
|
// then we get our current vfo..i.e. VFOA
|
||||||
if (rig->state.current_vfo != RIG_VFO_A)
|
if (rig->state.current_vfo != RIG_VFO_A)
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BACKEND_VER "20210418"
|
#define BACKEND_VER "20210419"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* defines used by comp_cal_str in rig.c
|
* defines used by comp_cal_str in rig.c
|
||||||
|
|
Ładowanie…
Reference in New Issue