[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. v4.0rc1-6-g17112c30
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2020-07-14 16:31:48
|
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 17112c308e91169363e1698d6f267ed7b4245d28 (commit) from f986be28a8ea8e8cd4462a244ad7c87a30b0f015 (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 17112c308e91169363e1698d6f267ed7b4245d28 Author: Michael Black W9MDB <mdb...@ya...> Date: Tue Jul 14 11:26:14 2020 -0500 Fix kenwood_get_rit to utilize the +/- sign https://github.com/Hamlib/Hamlib/issues/342 diff --git a/rigs/kenwood/kenwood.c b/rigs/kenwood/kenwood.c index 7783cb2e..196826e5 100644 --- a/rigs/kenwood/kenwood.c +++ b/rigs/kenwood/kenwood.c @@ -1678,9 +1678,9 @@ int kenwood_get_rit(RIG *rig, vfo_t vfo, shortfreq_t *rit) return retval; } - memcpy(buf, &priv->info[18], 5); + memcpy(buf, &priv->info[17], 6); - buf[5] = '\0'; + buf[6] = '\0'; *rit = atoi(buf); return RIG_OK; diff --git a/rigs/kenwood/kenwood.h b/rigs/kenwood/kenwood.h index 5c800c1d..16fb01c7 100644 --- a/rigs/kenwood/kenwood.h +++ b/rigs/kenwood/kenwood.h @@ -27,7 +27,7 @@ #include <string.h> #include "token.h" -#define BACKEND_VER "20200712" +#define BACKEND_VER "20200714" #define EOM_KEN ';' #define EOM_TH '\r' ----------------------------------------------------------------------- Summary of changes: rigs/kenwood/kenwood.c | 4 ++-- rigs/kenwood/kenwood.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |