[Hamlib-commits] Hamlib -- Ham radio control libraries branch Hamlib-4.6.3 updated. 4.6.3-4-g619cf9
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: n0nb <n0...@us...> - 2025-06-21 02:32:18
|
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, Hamlib-4.6.3 has been updated
via 619cf9fc0d3de8f31fc9d30c8199898c5a91be94 (commit)
via 7d2e82886130070e6680d60d8d9596c697cb9c08 (commit)
from cea177f3959cb57673573273f839bea2450f93b5 (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 619cf9fc0d3de8f31fc9d30c8199898c5a91be94
Author: Nate Bargmann <n0...@n0...>
Date: Fri Jun 20 21:30:24 2025 -0500
Update NEWS for jrc_set_chan
diff --git a/NEWS b/NEWS
index b3875a694..b8cc0fb05 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,7 @@ Version 4.6.4
* Fix handling of unprintable characters in kenwood.c that broke radios
such as the TM-D710/TM-V71 that use EOM_TH (\r) as the command terminator.
(TNX, Lars Kellogg-Stedman and George Baltz).
+ * Fixed jrc_set_chan. (TNX Mark Fine).
Version 4.6.3
* 2025-06-10
commit 7d2e82886130070e6680d60d8d9596c697cb9c08
Author: markjfine <mar...@fi...>
Date: Fri Jun 20 18:03:22 2025 -0400
Fixed jrc_set_chan
set_chan() was correctly creating and sending the command, and returning RIG_OK. However, radio was actually ignoring it because command wasn't terminated with a CR. This is now corrected.
(cherry picked from commit aa39d6a618c82bb0482098fefd2cfddb7bd7ee61)
diff --git a/rigs/jrc/jrc.c b/rigs/jrc/jrc.c
index 40cd79ff0..fb42ac05a 100644
--- a/rigs/jrc/jrc.c
+++ b/rigs/jrc/jrc.c
@@ -1459,6 +1459,8 @@ int jrc_set_chan(RIG *rig, vfo_t vfo, const channel_t *chan)
chan->levels[rig_setting2idx(RIG_LEVEL_AGC)].i);
}
+ cmdbuf[priv->mem_len - 1] = 0x0d;
+
return jrc_transaction(rig, cmdbuf, strlen(cmdbuf), NULL, NULL);
}
-----------------------------------------------------------------------
Summary of changes:
NEWS | 1 +
rigs/jrc/jrc.c | 2 ++
2 files changed, 3 insertions(+)
hooks/post-receive
--
Hamlib -- Ham radio control libraries
|