[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. cd82a2c00835872bf25d3
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-04-19 03:48:35
|
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 cd82a2c00835872bf25d3ddd1d2ad8d1e7e64888 (commit) from 7e7e2cb1acb27cdbe67b8f258d10144f0b99e754 (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 cd82a2c00835872bf25d3ddd1d2ad8d1e7e64888 Author: Mike Black W9MDB <mdb...@ya...> Date: Sun Apr 18 22:46:50 2021 -0500 In icom.c fix reading VFOB width when 0 and set to VFOA width 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 23a9c451..6185f53f 100644 --- a/rigs/icom/icom.c +++ b/rigs/icom/icom.c @@ -2137,6 +2137,7 @@ int icom_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width) rig_set_vfo(rig, RIG_VFO_B); retval = icom_get_dsp_flt(rig, *mode); *width = retval; + if (*width == 0) *width = rig->state.cache.widthMainA; // we'll use VFOA's width // dont' really care about cache time here // this is just to prevent vfo swapping while getting width rig->state.cache.widthMainB = retval; diff --git a/rigs/icom/icom.h b/rigs/icom/icom.h index fd44e5a2..15f07c8d 100644 --- a/rigs/icom/icom.h +++ b/rigs/icom/icom.h @@ -30,7 +30,7 @@ #include <sys/time.h> #endif -#define BACKEND_VER "20210408" +#define BACKEND_VER "20210418" /* * defines used by comp_cal_str in rig.c ----------------------------------------------------------------------- Summary of changes: rigs/icom/icom.c | 1 + rigs/icom/icom.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |