[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 3d2ab7f379b5be2071d78
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-19 17:12:20
|
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 3d2ab7f379b5be2071d784bb5ef0b4311f41806c (commit) from e622186bc3016e71369238f1030df0ae44f0ddf7 (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 3d2ab7f379b5be2071d784bb5ef0b4311f41806c Author: Michael Black W9MDB <mdb...@ya...> Date: Tue Jan 19 11:11:19 2021 -0600 Yaesu newcat.c do no not try to set VFO when transmitting. diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 0d2abb5a..02f06907 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); ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/newcat.c | 3 +++ 1 file changed, 3 insertions(+) hooks/post-receive -- Hamlib -- Ham radio control libraries |