[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. aa58442e18d6ad51dc391
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2020-12-18 15:42: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 aa58442e18d6ad51dc3914f0ecef149c20c0a2bd (commit) from f43e190e0739f142c70d700c00d2c80503b06ce7 (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 aa58442e18d6ad51dc3914f0ecef149c20c0a2bd Author: Michael Black W9MDB <mdb...@ya...> Date: Fri Dec 18 08:52:38 2020 -0600 Fix FT-891 bandwidth selection -- seems newer rigs now have an "on" value now https://github.com/Hamlib/Hamlib/issues/469 diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 858b4039..e92bca3c 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -7433,7 +7433,9 @@ int newcat_set_rx_bandwidth(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width) if (is_ftdx101 || is_ft891) { - snprintf(priv->cmd_str, sizeof(priv->cmd_str), "SH%c0%02d;", main_sub_vfo, w); + // some rigs now require the bandwidth be turned "on" + int on = is_ft891; + snprintf(priv->cmd_str, sizeof(priv->cmd_str), "SH%c%d%02d;", main_sub_vfo, on, w); } else { diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index faa00a1b..63b80501 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20201217" +#define NEWCAT_VER "20201218" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129 ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/newcat.c | 4 +++- rigs/yaesu/newcat.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |