[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. a15353ec4c4c2989bed30
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-08 04:15:00
|
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 a15353ec4c4c2989bed303b51c21235762955ba6 (commit) via a14df2d536b47922213c99061cc04db9b2472295 (commit) via a3a6467ac1e4c524e700e2b5007a21e10f22b596 (commit) via 16d76eff4b33d3b56e5bcfeb8254ef220c7ec7c6 (commit) via cfb0e1359997546859676fcc44500590b765a588 (commit) from 02c085443485487e3a330494710cbb0d7d7bd1d1 (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 a15353ec4c4c2989bed303b51c21235762955ba6 Merge: a14df2d5 a3a6467a Author: Michael Black W9MDB <mdb...@ya...> Date: Thu Jan 7 22:14:27 2021 -0600 Merge branch 'master' of https://github.com/Hamlib/Hamlib commit a14df2d536b47922213c99061cc04db9b2472295 Author: Michael Black W9MDB <mdb...@ya...> Date: Thu Jan 7 22:14:04 2021 -0600 Add bootstrap note to INSTALL diff --git a/INSTALL b/INSTALL index 23034b25..9ffa4190 100644 --- a/INSTALL +++ b/INSTALL @@ -17,6 +17,8 @@ main directory and do the following: $ ./configure + If configure does not exist you can create it with ./bootstrap + If you are planning to install the package into your home directory or to a location other than `/usr/local' then add the flag `--prefix=PATH' to `configure'. For example, if your home directory commit a3a6467ac1e4c524e700e2b5007a21e10f22b596 Merge: 16d76eff cfb0e135 Author: Michael Black <mdb...@ya...> Date: Thu Jan 7 16:12:35 2021 -0600 Merge pull request #494 from N8TW/FT-980_Backend Bug fix limiting memory access to 15 slots instead of 16. commit 16d76eff4b33d3b56e5bcfeb8254ef220c7ec7c6 Author: Michael Black W9MDB <mdb...@ya...> Date: Thu Jan 7 15:50:50 2021 -0600 Add debug to icom/frame.c https://github.com/Hamlib/Hamlib/issues/490 diff --git a/rigs/icom/frame.c b/rigs/icom/frame.c index 861347a0..1723fa8b 100644 --- a/rigs/icom/frame.c +++ b/rigs/icom/frame.c @@ -395,10 +395,12 @@ int rig2icom_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width, pbwidth_t width_tmp = width; struct icom_priv_data *priv_data = (struct icom_priv_data *) rig->state.priv; + rig_debug(RIG_DEBUG_TRACE, "%s: mode=%ld, width=%ld\n", __func__, mode, width); icmode_ext = -1; if (width == RIG_PASSBAND_NOCHANGE) // then we read width so we can reuse it { + rig_debug(RIG_DEBUG_TRACE, "%s: width==RIG_PASSBAND_NOCHANGE\n", __func__); rmode_t tmode; int ret = rig_get_mode(rig, vfo, &tmode, &width); @@ -472,6 +474,7 @@ int rig2icom_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width, if (width_tmp != RIG_PASSBAND_NOCHANGE) { + rig_debug(RIG_DEBUG_TRACE, "%s: width_tmp=%ld\n", __func__, width_tmp); pbwidth_t medium_width = rig_passband_normal(rig, mode); if (width == RIG_PASSBAND_NORMAL) commit cfb0e1359997546859676fcc44500590b765a588 Author: N8TW <i.m...@ou...> Date: Thu Jan 7 16:31:45 2021 -0500 Bug fix limiting memory access to 15 slots instead of 16. diff --git a/rigs/yaesu/ft980.c b/rigs/yaesu/ft980.c index 461d0e5d..072e58e2 100644 --- a/rigs/yaesu/ft980.c +++ b/rigs/yaesu/ft980.c @@ -995,7 +995,7 @@ int ft980_set_mem(RIG *rig, vfo_t vfo, int ch) unsigned char cmd[YAESU_CMD_LENGTH] = { 0x00, 0x00, 0x00, 0x00, 0x0A }; struct ft980_priv_data *priv = (struct ft980_priv_data *)rig->state.priv; - if (ch >= 16 || ch < 1) + if (ch > 16 || ch < 1) { return -RIG_EINVAL; } @@ -1021,4 +1021,3 @@ int ft980_get_mem(RIG *rig, vfo_t vfo, int *ch) return RIG_OK; } - ----------------------------------------------------------------------- Summary of changes: INSTALL | 2 ++ rigs/icom/frame.c | 3 +++ rigs/yaesu/ft980.c | 3 +-- 3 files changed, 6 insertions(+), 2 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |