diff --git a/rigs/kenwood/kenwood.c b/rigs/kenwood/kenwood.c index 2562e01fc..f2dddb3da 100644 --- a/rigs/kenwood/kenwood.c +++ b/rigs/kenwood/kenwood.c @@ -2442,7 +2442,7 @@ int kenwood_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width) rig_debug(RIG_DEBUG_VERBOSE, "%s: kmode=%d, cmode=%c, datamode=%c\n", __func__, kmode, c, data_mode); - if (RIG_IS_TS990S) + if (RIG_IS_TS990S || RIG_IS_TS890S) { /* The TS990s has targetable read mode but can only set the mode of the current VFO :( So we need to toggle the operating VFO @@ -2711,7 +2711,7 @@ int kenwood_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width) RETURNFUNC2(RIG_OK); } - if (RIG_IS_TS990S) + if (RIG_IS_TS990S || RIG_IS_TS890S) { char c; @@ -2725,8 +2725,10 @@ int kenwood_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width) switch (vfo) { + case RIG_VFO_A: case RIG_VFO_MAIN: c = '0'; break; + case RIG_VFO_B: case RIG_VFO_SUB: c = '1'; break; default: diff --git a/rigs/kenwood/kenwood.h b/rigs/kenwood/kenwood.h index b512a3308..43edb05b9 100644 --- a/rigs/kenwood/kenwood.h +++ b/rigs/kenwood/kenwood.h @@ -28,7 +28,7 @@ #include "token.h" #include "idx_builtin.h" -#define BACKEND_VER "20240224" +#define BACKEND_VER "20240405" #define EOM_KEN ';' #define EOM_TH '\r'