[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. v4.0rc1-8-g7fe4a91a
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2020-07-15 17:17:36
|
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 7fe4a91ac06afa4003b3f103d01c00f85bc6f787 (commit) from 65d8ac8d95f92c2d6099c3f4f047bc400fddfaf7 (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 7fe4a91ac06afa4003b3f103d01c00f85bc6f787 Author: Michael Black W9MDB <mdb...@ya...> Date: Wed Jul 15 12:16:40 2020 -0500 Fix get_rit of negative RIT for ft1000mp.c https://github.com/Hamlib/Hamlib/issues/343 diff --git a/rigs/yaesu/ft1000mp.c b/rigs/yaesu/ft1000mp.c index 7e7e66a9..66957fc9 100644 --- a/rigs/yaesu/ft1000mp.c +++ b/rigs/yaesu/ft1000mp.c @@ -216,7 +216,7 @@ const struct rig_caps ft1000mp_caps = RIG_MODEL(RIG_MODEL_FT1000MP), .model_name = "FT-1000MP", .mfg_name = "Yaesu", - .version = "20200623.0", + .version = "20200715.0", .copyright = "LGPL", .status = RIG_STATUS_STABLE, .rig_type = RIG_TYPE_TRANSCEIVER, @@ -347,7 +347,7 @@ const struct rig_caps ft1000mpmkv_caps = RIG_MODEL(RIG_MODEL_FT1000MPMKV), .model_name = "MARK-V FT-1000MP", .mfg_name = "Yaesu", - .version = "20200623.0", + .version = "20200715.0", .copyright = "LGPL", .status = RIG_STATUS_STABLE, .rig_type = RIG_TYPE_TRANSCEIVER, @@ -478,7 +478,7 @@ const struct rig_caps ft1000mpmkvfld_caps = RIG_MODEL(RIG_MODEL_FT1000MPMKVFLD), .model_name = "MARK-V Field FT-1000MP", .mfg_name = "Yaesu", - .version = "20200623.0", + .version = "20200715.0", .copyright = "LGPL", .status = RIG_STATUS_STABLE, .rig_type = RIG_TYPE_TRANSCEIVER, @@ -1234,7 +1234,7 @@ int ft1000mp_get_rit(RIG *rig, vfo_t vfo, shortfreq_t *rit) /* big endian integer, kinda */ if (p[0] & 0x80) { - f = (p[0] << 8) + p[1] - 65536; + f = (p[0] << 8) + p[1] * -1; } else { ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/ft1000mp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |