[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 140ccbefd4e62a1dcdf8f
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-20 23:43:25
|
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 140ccbefd4e62a1dcdf8f6eaaa593d7ef99b7262 (commit) from c93da3c5d43957a4df93c2af976e573105bb2db4 (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 140ccbefd4e62a1dcdf8f6eaaa593d7ef99b7262 Author: Michael Black W9MDB <mdb...@ya...> Date: Wed Jan 20 17:43:06 2021 -0600 Prevent FT450 from doing VFOB actions while transmitting diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 22c38158..5ee11f7d 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -779,6 +779,9 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq) current VFO so we must use the VS[0|1]; command to check and select the correct VFO before setting the frequency */ + // Plus we can't do the VFO swap if transmitting + if (target_vfo == 'B' && rig->state.cache.ptt == RIG_PTT_ON) return -RIG_ENTARGET; + snprintf(priv->cmd_str, sizeof(priv->cmd_str), "VS%c", cat_term); if (RIG_OK != (err = newcat_get_cmd(rig))) ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/newcat.c | 3 +++ 1 file changed, 3 insertions(+) hooks/post-receive -- Hamlib -- Ham radio control libraries |