[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. e8c3d37cdcbf335507b46
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-04 17:55:42
|
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 e8c3d37cdcbf335507b46988ca149552765cd2e6 (commit) via 38faad95e870d53db42fc23c2d9f1e7e7ec3a614 (commit) from 98d0f20daaf7c3ce0e2554cf9cda9cb0793d7426 (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 e8c3d37cdcbf335507b46988ca149552765cd2e6 Author: Michael Black W9MDB <mdb...@ya...> Date: Mon Jan 4 11:28:32 2021 -0600 Remove str_cal correction for FT2000 -- have to figure out a better way to do it https://github.com/Hamlib/Hamlib/issues/488 diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index a2ca83f3..9e6f7758 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -537,6 +537,7 @@ int newcat_open(RIG *rig) /* Initialize rig_id in case any subsequent commands need it */ (void)newcat_get_rigid(rig); rig_debug(RIG_DEBUG_VERBOSE, "%s: rig_id=%d\n", __func__, priv->rig_id); +#if 0 // what's the right way to do this? if (priv->rig_id == NC_RIGID_FT2000) { // then we need to readjust rfpowermeter cal table in half @@ -548,6 +549,7 @@ int newcat_open(RIG *rig) rig->caps->rfpower_meter_cal.table[i].raw /= 2; } } +#endif rig_debug(RIG_DEBUG_VERBOSE, "%s: returning RIG_OK\n", __func__); return RIG_OK; diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index bf8b796a..3ed57ca6 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20201222" +#define NEWCAT_VER "20210104" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129 commit 38faad95e870d53db42fc23c2d9f1e7e7ec3a614 Author: Michael Black W9MDB <mdb...@ya...> Date: Mon Jan 4 10:44:25 2021 -0600 Add some debug to newcat.c diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 705a9e35..a2ca83f3 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -536,7 +536,7 @@ int newcat_open(RIG *rig) /* Initialize rig_id in case any subsequent commands need it */ (void)newcat_get_rigid(rig); - + rig_debug(RIG_DEBUG_VERBOSE, "%s: rig_id=%d\n", __func__, priv->rig_id); if (priv->rig_id == NC_RIGID_FT2000) { // then we need to readjust rfpowermeter cal table in half @@ -549,6 +549,7 @@ int newcat_open(RIG *rig) } } + rig_debug(RIG_DEBUG_VERBOSE, "%s: returning RIG_OK\n", __func__); return RIG_OK; } ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/newcat.c | 5 ++++- rigs/yaesu/newcat.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |