From 801d34e3fba7e94bb738aed32ba7b91c06dcbcbd Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Mon, 31 Jul 2023 15:31:06 -0500 Subject: [PATCH] Fix reverse split for Yaeus VFO_SUB rigs https://github.com/Hamlib/Hamlib/issues/1103 --- rigs/yaesu/newcat.c | 2 +- rigs/yaesu/newcat.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 381e62f36..2893a02c0 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -7884,7 +7884,7 @@ int newcat_set_tx_vfo(RIG *rig, vfo_t tx_vfo) p1 = p1 + 2; /* use non-Toggle commands */ // If VFOB is active then we change VFOB with FT3 instead of VFOA - if (rig->state.current_vfo == RIG_VFO_B) { p1++; } + if (rig->state.current_vfo == RIG_VFO_B || rig->state.current_vfo == RIG_VFO_SUB) { p1++; } } if (is_ftdx101d || is_ftdx101mp) diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index f03ce1974..4fd014372 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20230724" +#define NEWCAT_VER "20230731" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129