From 20fc303686ee4fdb94d20d746936fd1249d091ec Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Tue, 3 Nov 2020 15:24:06 +0000 Subject: [PATCH] Fix set_mode for IC-7000 https://github.com/Hamlib/Hamlib/issues/428 --- rigs/icom/icom.c | 5 +++-- rigs/icom/icom.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rigs/icom/icom.c b/rigs/icom/icom.c index fadfd433a..7b12a79d2 100644 --- a/rigs/icom/icom.c +++ b/rigs/icom/icom.c @@ -1700,12 +1700,13 @@ int icom_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width) return err; } - /* IC-731 and IC-735 don't support passband data */ + /* IC-731, IC-735, IC-7000 don't support passband data */ /* IC-726 & IC-475A/E also limited support - only on CW */ /* TODO: G4WJS CW wide/narrow are possible with above two radios */ if (priv->civ_731_mode || rig->caps->rig_model == RIG_MODEL_OS456 || rig->caps->rig_model == RIG_MODEL_IC726 - || rig->caps->rig_model == RIG_MODEL_IC475) + || rig->caps->rig_model == RIG_MODEL_IC475 + || rig->caps->rig_model == RIG_MODEL_IC7000) { icmode_ext = -1; } diff --git a/rigs/icom/icom.h b/rigs/icom/icom.h index a52b9069e..b264776a1 100644 --- a/rigs/icom/icom.h +++ b/rigs/icom/icom.h @@ -30,7 +30,7 @@ #include #endif -#define BACKEND_VER "20201018" +#define BACKEND_VER "20201103" /* * defines used by comp_cal_str in rig.c