From c53a288cd8e7b920cc3fbbf97ef5500371f9b218 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Mon, 6 Sep 2021 07:41:33 -0500 Subject: [PATCH] Add debug to show vfofixup being skipped due to satmode rig --- src/rig.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/rig.c b/src/rig.c index bec62059c..1898aef4f 100644 --- a/src/rig.c +++ b/src/rig.c @@ -4549,8 +4549,12 @@ int HAMLIB_API rig_set_split_vfo(RIG *rig, RETURNFUNC(-RIG_ENAVAIL); } - // We fix up vfos for non-satmode rigs - if (!(rig->caps->has_get_func & RIG_FUNC_SATMODE)) + // We fix up vfos for non-satmode rigs only + if (rig->caps->has_get_func & RIG_FUNC_SATMODE) + { + rig_debug(RIG_DEBUG_TRACE, "%s: satmode rig...not fixing up vfos rx=%s tx=%s\n", __func__, rig_strvfo(rx_vfo), rig_strvfo(tx_vfo)); + } + else { rx_vfo = vfo_fixup(rig, rx_vfo, split); tx_vfo = vfo_fixup(rig, tx_vfo, split);