[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. aa9b9196b4dc231a6979f
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-08-26 22:58:55
|
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 aa9b9196b4dc231a6979fa9ec15b3798931b9031 (commit) from 32cd11a4a8f933906f95aa3651d7e3b7544ae80c (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 aa9b9196b4dc231a6979fa9ec15b3798931b9031 Author: Mike Black W9MDB <mdb...@ya...> Date: Thu Aug 26 16:31:37 2021 -0500 Fix Kenwood FR/FT sequencing https://github.com/Hamlib/Hamlib/issues/746 diff --git a/rigs/kenwood/kenwood.c b/rigs/kenwood/kenwood.c index 6a52d164..62632779 100644 --- a/rigs/kenwood/kenwood.c +++ b/rigs/kenwood/kenwood.c @@ -1120,7 +1120,7 @@ int kenwood_set_vfo(RIG *rig, vfo_t vfo) // FR can turn off split on some Kenwood rigs // So we'll turn it back on just in case - if (priv->split) { strcat(cmdbuf, "FT1;"); } + if (priv->split && vfo_function == '0') { strcat(cmdbuf, ";FT1"); } if (RIG_IS_TS50 || RIG_IS_TS940) { @@ -1261,7 +1261,7 @@ int kenwood_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t txvfo) // FR can turn off split on some Kenwood rigs // So we'll turn it back on just in case - if (priv->split) { strcat(cmdbuf, "FT1;"); } + if (priv->split && vfo_function=='0') { strcat(cmdbuf, ";FT1"); } retval = kenwood_transaction(rig, cmdbuf, NULL, 0); diff --git a/rigs/kenwood/kenwood.h b/rigs/kenwood/kenwood.h index 17f64d54..0781eea8 100644 --- a/rigs/kenwood/kenwood.h +++ b/rigs/kenwood/kenwood.h @@ -28,7 +28,7 @@ #include "token.h" #include "misc.h" -#define BACKEND_VER "20210822" +#define BACKEND_VER "20210826" #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 |