[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 9d58b30489b090b994017
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-22 20:28:23
|
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 9d58b30489b090b994017691454d8436bb04b49c (commit) from e7b6e61ed09ea217b7bbdba613c1669dce0b1b47 (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 9d58b30489b090b994017691454d8436bb04b49c Author: Michael Black W9MDB <mdb...@ya...> Date: Fri Jan 22 14:27:29 2021 -0600 Change ftdx3000/5000 to reject setting freq while transmitting More rigs will probably be added to this list diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 423a6154..e8e08358 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -779,9 +779,9 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq) { // should be true whether we're on VFOA or VFOB but only restricting VFOB right now // we return RIG_OK as we dont' want - if (is_ftdx3000 && target_vfo == 'B') { return RIG_OK; } + if (is_ftdx3000) { return RIG_ENTARGET; } - if (is_ftdx5000 && target_vfo == 'B') { return RIG_OK; } + if (is_ftdx5000) { return RIG_ENTARGET; } } if (RIG_MODEL_FT450 == caps->rig_model) ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/newcat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |