diff --git a/rigs/icom/icom.c b/rigs/icom/icom.c index a69fcd6d4..c9b0677ba 100644 --- a/rigs/icom/icom.c +++ b/rigs/icom/icom.c @@ -5944,7 +5944,11 @@ int icom_get_split_vfo(RIG *rig, vfo_t vfo, split_t *split, vfo_t *tx_vfo) if (rig->caps->has_get_func & RIG_FUNC_SATMODE) { rig_get_func(rig, RIG_VFO_CURR, RIG_FUNC_SATMODE, &satmode); - priv->x25cmdfails = satmode; // reset this so it tries again + if (satmode != rig->state.cache.satmode) + { + rig_debug(RIG_DEBUG_VERBOSE, "%s(%d): satmode changed to reset x25cmdfails\n", __func__, __LINE__); + priv->x25cmdfails = satmode; // reset this so it tries again + } } rig->state.cache.satmode = satmode; diff --git a/rigs/icom/icom.h b/rigs/icom/icom.h index 550248319..ceeff632e 100644 --- a/rigs/icom/icom.h +++ b/rigs/icom/icom.h @@ -30,7 +30,7 @@ #include #endif -#define BACKEND_VER "20210706" +#define BACKEND_VER "20210715" #define ICOM_IS_SECONDARY_VFO(vfo) ((vfo) & (RIG_VFO_B | RIG_VFO_SUB | RIG_VFO_SUB_B | RIG_VFO_MAIN_B)) #define ICOM_GET_VFO_NUMBER(vfo) (ICOM_IS_SECONDARY_VFO(vfo) ? 0x01 : 0x00)