[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 870b9ca7481fc40255749
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Michael B. <mdb...@us...> - 2021-04-19 16:26:29
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hamlib -- Ham radio control libraries".
The branch, master has been updated
via 870b9ca7481fc40255749194fe6215cbbc74df93 (commit)
from cd82a2c00835872bf25d3ddd1d2ad8d1e7e64888 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 870b9ca7481fc40255749194fe6215cbbc74df93
Author: Mike Black W9MDB <mdb...@ya...>
Date: Mon Apr 19 09:51:58 2021 -0500
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/654
diff --git a/rigs/icom/icom.c b/rigs/icom/icom.c
index 6185f53f..75ed7e38 100644
--- a/rigs/icom/icom.c
+++ b/rigs/icom/icom.c
@@ -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!!
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
if (rig->state.current_vfo != RIG_VFO_A)
diff --git a/rigs/icom/icom.h b/rigs/icom/icom.h
index 15f07c8d..0f62d073 100644
--- a/rigs/icom/icom.h
+++ b/rigs/icom/icom.h
@@ -30,7 +30,7 @@
#include <sys/time.h>
#endif
-#define BACKEND_VER "20210418"
+#define BACKEND_VER "20210419"
/*
* defines used by comp_cal_str in rig.c
-----------------------------------------------------------------------
Summary of changes:
rigs/icom/icom.c | 2 +-
rigs/icom/icom.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Hamlib -- Ham radio control libraries
|