From 9d58b30489b090b994017691454d8436bb04b49c Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Fri, 22 Jan 2021 14:27:29 -0600 Subject: [PATCH] Change ftdx3000/5000 to reject setting freq while transmitting More rigs will probably be added to this list --- rigs/yaesu/newcat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 423a61546..e8e083585 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)