[Hamlib-commits] Hamlib -- Ham radio control libraries branch Hamlib-4.0 updated. 03bc9386288dad95c
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Nate B. <n0...@us...> - 2020-09-08 14:16:54
|
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, Hamlib-4.0 has been updated via 03bc9386288dad95cb917eab8bae66ef751df9fc (commit) from b7452d766271b763fde8be3d0ba892c23a966cb1 (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 03bc9386288dad95cb917eab8bae66ef751df9fc Author: Michael Black W9MDB <mdb...@ya...> Date: Mon Sep 7 16:35:13 2020 -0500 Fix ft857 RFPOWER https://github.com/Hamlib/Hamlib/issues/368 (cherry picked from commit ce18ec7bf55941cc80abcacb0867e68a20772254) diff --git a/rigs/yaesu/ft857.c b/rigs/yaesu/ft857.c index 3f71100d..836ddb2c 100644 --- a/rigs/yaesu/ft857.c +++ b/rigs/yaesu/ft857.c @@ -155,7 +155,7 @@ const struct rig_caps ft857_caps = RIG_MODEL(RIG_MODEL_FT857), .model_name = "FT-857", .mfg_name = "Yaesu", - .version = "20200628.0", + .version = "20200907.0", .copyright = "LGPL", .status = RIG_STATUS_STABLE, .rig_type = RIG_TYPE_TRANSCEIVER, @@ -796,11 +796,11 @@ static int ft857_get_pometer_level(RIG *rig, value_t *val) { rig_debug(RIG_DEBUG_TRACE, "%s: bars=%d\n", __func__, p->tx_status & 0x0F); // does rig have 10 bars or 15? - val->i = (p->tx_status & 0x0F) / 10.0; + val->f = (p->tx_status & 0x0F) / 10.0; } else { - val->i = 0; // invalid value return + val->f = 0; // invalid value return } return RIG_OK; ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/ft857.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |