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) {