[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 671a3b8562d71f28cb758
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: n0nb <n0...@us...> - 2024-12-04 20:57:24
|
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 671a3b8562d71f28cb75874d30c90f969a129902 (commit) from 46711b1db4b4f737964f700941c1184db81d5bf1 (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 671a3b8562d71f28cb75874d30c90f969a129902 Author: Michael Black W9MDB <mdb...@ya...> Date: Wed Dec 4 14:47:48 2024 -0600 Fix rig_get_DBM in flrig diff --git a/rigs/dummy/flrig.c b/rigs/dummy/flrig.c index e739acf81..df6f27bde 100644 --- a/rigs/dummy/flrig.c +++ b/rigs/dummy/flrig.c @@ -2386,8 +2386,7 @@ static int flrig_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) } case RIG_LEVEL_STRENGTH: - val->i = atoi(value); - //if (val->i > 0) val->i /= 10; + val->i = atoi(value) + 73; rig_debug(RIG_DEBUG_TRACE, "%s: val.i='%s'(%d)\n", __func__, value, val->i); break; ----------------------------------------------------------------------- Summary of changes: rigs/dummy/flrig.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |