[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 21e691153854c7029b4d0
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2020-12-16 13:55:27
|
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 21e691153854c7029b4d0c152f964c7dd7acba3d (commit) from 14ea0305b6ef4d96f6d5dc05d33131c1d96f03a3 (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 21e691153854c7029b4d0c152f964c7dd7acba3d Author: Michael Black W9MDB <mdb...@ya...> Date: Wed Dec 16 07:46:39 2020 -0600 Add rfpower_meter_str for FT2000D and reuse by dividing in half for FT2000 diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 137b0508..d40c24f9 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -532,6 +532,15 @@ int newcat_open(RIG *rig) /* Initialize rig_id in case any subsequent commands need it */ (void)newcat_get_rigid(rig); + if (priv->rig_id == NC_RIGID_FT2000) + { // then we need to readjust rfpowermeter cal table in half + int i; + for(i=0;i<rig->caps->rfpower_meter_cal.size; ++i) + { // we may need a table for the FT2000 instead of this + rig->caps->rfpower_meter_cal.table[i].raw/=2; + } + } + return RIG_OK; } diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index 654e2295..bf7b1dcd 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20201215" +#define NEWCAT_VER "20201216" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129 ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/newcat.c | 9 +++++++++ rigs/yaesu/newcat.h | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |