From 3d2ab7f379b5be2071d784bb5ef0b4311f41806c Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Tue, 19 Jan 2021 11:11:19 -0600 Subject: [PATCH] Yaesu newcat.c do no not try to set VFO when transmitting. --- rigs/yaesu/newcat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 0d2abb5a5..02f069071 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -1277,6 +1277,9 @@ int newcat_set_vfo(RIG *rig, vfo_t vfo) rig_debug(RIG_DEBUG_TRACE, "%s: passed vfo = %s\n", __func__, rig_strvfo(vfo)); + // we can't change VFO while transmitting + if (rig->state.cache.ptt == RIG_PTT_ON) return RIG_OK; + if (!newcat_valid_command(rig, command)) { RETURNFUNC(-RIG_ENAVAIL);