diff --git a/rigs/icom/icom.c b/rigs/icom/icom.c index 93c57d890..264104627 100644 --- a/rigs/icom/icom.c +++ b/rigs/icom/icom.c @@ -1341,7 +1341,7 @@ int icom_set_freq(RIG *rig, vfo_t vfo, freq_t freq) freq_len = priv->civ_731_mode ? 4 : 5; - if (rig->caps->rig_model == RIG_MODEL_IC905) { freq_len = 6; } + if (rig->caps->rig_model == RIG_MODEL_IC905) { freq/=10; freq_len = 6; } /* * to_bcd requires nibble len @@ -1762,6 +1762,8 @@ int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq) if (freq_len == 3) { *freq *= 10000; } // 3-byte freq for ID5100 is in 10000Hz units so convert to Hz + if (rig->caps->rig_model == RIG_MODEL_IC905) { *freq*=10; } + if (vfo == RIG_VFO_MEM && civ_731_mode) { priv->civ_731_mode = 1; } switch (vfo) diff --git a/rigs/icom/icom.h b/rigs/icom/icom.h index 381bb7205..5ae986084 100644 --- a/rigs/icom/icom.h +++ b/rigs/icom/icom.h @@ -35,7 +35,7 @@ #include #endif -#define BACKEND_VER "20230609" +#define BACKEND_VER "20230616" #define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31) #define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)