[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. a6af56ff53fd0abfe1d7d
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-04-27 12:37:28
|
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 a6af56ff53fd0abfe1d7d76ec3f5ec9bf54bf2a2 (commit) from aa9a8d8af1ebbbd7ca5e32ba81c11fe1aa53c150 (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 a6af56ff53fd0abfe1d7d76ec3f5ec9bf54bf2a2 Author: Mike Black W9MDB <mdb...@ya...> Date: Tue Apr 27 07:34:14 2021 -0500 Fit kenwoods set_rit to move right right direction https://github.com/Hamlib/Hamlib/issues/677 diff --git a/rigs/kenwood/kenwood.c b/rigs/kenwood/kenwood.c index f3f23cef..1feabae5 100644 --- a/rigs/kenwood/kenwood.c +++ b/rigs/kenwood/kenwood.c @@ -1793,7 +1793,7 @@ int kenwood_set_rit(RIG *rig, vfo_t vfo, shortfreq_t rit) if (priv->has_rit2) { - diff = curr_rit - rit; + diff = rit - curr_rit; rig_debug(RIG_DEBUG_TRACE, "%s: rit=%ld, curr_rit=%ld, diff=%d\n", __func__, rit, curr_rit, diff); snprintf(buf, sizeof(buf), "R%c%05d", (diff > 0) ? 'U' : 'D', abs((int) diff)); retval = kenwood_transaction(rig, buf, NULL, 0); diff --git a/rigs/kenwood/kenwood.h b/rigs/kenwood/kenwood.h index 3376fbf4..abe0829a 100644 --- a/rigs/kenwood/kenwood.h +++ b/rigs/kenwood/kenwood.h @@ -28,7 +28,7 @@ #include "token.h" #include "misc.h" -#define BACKEND_VER "20210425" +#define BACKEND_VER "20210427" #define EOM_KEN ';' #define EOM_TH '\r' ----------------------------------------------------------------------- Summary of changes: rigs/kenwood/kenwood.c | 2 +- rigs/kenwood/kenwood.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |