[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. cf21f7d65c87e512f6179
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Michael B. <mdb...@us...> - 2021-01-18 23:15:35
|
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 cf21f7d65c87e512f6179c24607c6ec06447856c (commit)
from 2365297cacd077e5ae2943d054d49c43103d9480 (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 cf21f7d65c87e512f6179c24607c6ec06447856c
Author: Michael Black W9MDB <mdb...@ya...>
Date: Mon Jan 18 17:15:10 2021 -0600
Fix vfo check for band change
diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c
index ab2c5d88..2e176d36 100644
--- a/rigs/yaesu/newcat.c
+++ b/rigs/yaesu/newcat.c
@@ -821,8 +821,7 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
rig_debug(RIG_DEBUG_TRACE, "%s(%d)%s: rig->state.current_vfo=%s\n", __FILE__,
__LINE__, __func__, rig_strvfo(rig->state.current_vfo));
- if (rig->state.current_vfo == RIG_VFO_A
- || rig->state.current_vfo == RIG_VFO_MAIN)
+ if (vfo == RIG_VFO_A || vfo == RIG_VFO_MAIN)
{
rig_debug(RIG_DEBUG_TRACE, "%s(%d)%s: checking VFOA for band change \n",
__FILE__, __LINE__, __func__);
-----------------------------------------------------------------------
Summary of changes:
rigs/yaesu/newcat.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
hooks/post-receive
--
Hamlib -- Ham radio control libraries
|