[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. d6d79de732b6bfbe020f7
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-04 20:45:15
|
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 d6d79de732b6bfbe020f783831ecb5fa9bd392d3 (commit) from f34ccfa3b8e9ca5e6885b7790ac97d7c80092281 (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 d6d79de732b6bfbe020f783831ecb5fa9bd392d3 Author: Michael Black W9MDB <mdb...@ya...> Date: Mon Jan 4 14:43:03 2021 -0600 Another attempt to get FT2000 RFPOWER_METER correct for both 0-1 and watts readings https://github.com/Hamlib/Hamlib/issues/488 diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 482ca6e9..76f94cdc 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -4423,7 +4423,7 @@ int newcat_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) &rig->caps->rfpower_meter_cal) / (level == RIG_LEVEL_RFPOWER_METER_WATTS ? 1.0 : 100.0); - if (level == RIG_LEVEL_RFPOWER_METER && priv->rig_id == NC_RIGID_FT2000) + if (priv->rig_id == NC_RIGID_FT2000) { // we reuse the FT2000D table for the FT2000 so need to divide by 2 // hopefully this works well otherwise we need a separate table ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/newcat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |