[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 359f7549dca6396732a4a
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2020-09-27 03:35:21
|
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 359f7549dca6396732a4afa56a2b81c92c5b3e5a (commit) from 60201aab40a9e3d59e8347fbef8a5679248b7c6f (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 359f7549dca6396732a4afa56a2b81c92c5b3e5a Author: Michael Black W9MDB <mdb...@ya...> Date: Sat Sep 26 22:34:02 2020 -0500 Add comment to is_read_cmd newcat.c and remove redundant check https://github.com/Hamlib/Hamlib/issues/385 diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index ce813933..e275c99a 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -6484,6 +6484,7 @@ int newcat_get_cmd(RIG *rig) // we drop through and do the real IF command } + // any command that is read only should not expire cache is_read_cmd = strcmp(priv->cmd_str,"AG0;")==0 || strcmp(priv->cmd_str,"AG1;")==0 @@ -6533,8 +6534,7 @@ int newcat_get_cmd(RIG *rig) || strcmp(priv->cmd_str,"SQ0;")==0 || strcmp(priv->cmd_str,"SQ1;")==0 || strcmp(priv->cmd_str,"VT0;")==0 - || strcmp(priv->cmd_str,"VT1;")==0 - || strcmp(priv->cmd_str,"SQ1;")==0; + || strcmp(priv->cmd_str,"VT1;")==0; if (priv->cmd_str[2] != ';' && !is_read_cmd) // then we must be setting something so we'll invalidate the cache ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/newcat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |