[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. e6a5e4ca31015e161a86a
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2020-06-17 15:48:31
|
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 e6a5e4ca31015e161a86a41871ba9123f149914d (commit) from 325754c580a160733aa9ea269d80bcd0be5a475f (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 e6a5e4ca31015e161a86a41871ba9123f149914d Author: Michael Black W9MDB <mdb...@ya...> Date: Wed Jun 17 10:47:50 2020 -0500 Only update kenwood.c IF cache when RIG_OK diff --git a/rigs/kenwood/kenwood.c b/rigs/kenwood/kenwood.c index deee900b..d64e485a 100644 --- a/rigs/kenwood/kenwood.c +++ b/rigs/kenwood/kenwood.c @@ -543,7 +543,7 @@ transaction_read: transaction_quit: // update the cache - if (strcmp(cmdstr, "IF") == 0) + if (retval == RIG_OK && strcmp(cmdstr, "IF") == 0) { elapsed_ms(&priv->cache_start, 1); strncpy(priv->last_if_response, buffer, caps->if_len); diff --git a/rigs/kenwood/kenwood.h b/rigs/kenwood/kenwood.h index f793068a..358a06bd 100644 --- a/rigs/kenwood/kenwood.h +++ b/rigs/kenwood/kenwood.h @@ -27,7 +27,7 @@ #include <string.h> #include "token.h" -#define BACKEND_VER "20200615" +#define BACKEND_VER "20200617" #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 |