From 0e67bcd1fc55c9af2149588dbc290975a48ab493 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Wed, 1 Sep 2021 12:45:29 -0500 Subject: [PATCH] Do not do vfo_fixup on satmode rigs https://github.com/Hamlib/Hamlib/issues/782 --- src/rig.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/rig.c b/src/rig.c index dba18783b..bec62059c 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); } - rx_vfo = vfo_fixup(rig, rx_vfo, split); - tx_vfo = vfo_fixup(rig, tx_vfo, split); + // We fix up vfos for non-satmode rigs + if (!(rig->caps->has_get_func & RIG_FUNC_SATMODE)) + { + rx_vfo = vfo_fixup(rig, rx_vfo, split); + tx_vfo = vfo_fixup(rig, tx_vfo, split); + } // set rig to the the requested RX VFO TRACE;