From d6d446944bb45b213ce227aa33aded4b1b214635 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Fri, 4 Feb 2022 07:24:08 -0600 Subject: [PATCH] Fix kenwood_set_split_vfo vfo_fixup call --- rigs/kenwood/kenwood.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rigs/kenwood/kenwood.c b/rigs/kenwood/kenwood.c index 720c90c9e..82bca3ad5 100644 --- a/rigs/kenwood/kenwood.c +++ b/rigs/kenwood/kenwood.c @@ -20,9 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +#include #include #include @@ -1319,7 +1317,7 @@ int kenwood_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t txvfo) if (vfo == RIG_VFO_CURR) { vfo = rig->state.current_vfo; } - if (vfo == RIG_VFO_TX || vfo == RIG_VFO_RX) vfo = vfo_fixup(vfo); + if (vfo == RIG_VFO_TX || vfo == RIG_VFO_RX) vfo = vfo_fixup(rig, vfo, split); switch (vfo) {