From aa39d6a618c82bb0482098fefd2cfddb7bd7ee61 Mon Sep 17 00:00:00 2001 From: markjfine Date: Fri, 20 Jun 2025 18:03:22 -0400 Subject: [PATCH] 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. --- rigs/jrc/jrc.c | 2 ++ 1 file changed, 2 insertions(+) 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); }