From a8e5a66ffd7e37f4c9e38d9ae2cfa45c6a30d9d0 Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Wed, 3 Jun 2020 16:58:42 -0500 Subject: [PATCH] Add FT_DX101D as another rig that can't get freq during PTT https://github.com/Hamlib/Hamlib/issues/279 --- rigs/icom/icom.c | 2 +- rigs/icom/icom.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rigs/icom/icom.c b/rigs/icom/icom.c index 65ca20ee1..b757a7771 100644 --- a/rigs/icom/icom.c +++ b/rigs/icom/icom.c @@ -1057,7 +1057,7 @@ int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq) rs = &rig->state; priv = (struct icom_priv_data *) rs->priv; - if (rig->caps->rig_model == RIG_MODEL_IC910) + if (rig->caps->rig_model == RIG_MODEL_IC910 || rig->caps->rig_model == RIG_MODEL_FTDX101D) { ptt_t ptt; retval = rig_get_ptt(rig, RIG_VFO_CURR, &ptt); diff --git a/rigs/icom/icom.h b/rigs/icom/icom.h index 6c4dd84c8..8407cd69d 100644 --- a/rigs/icom/icom.h +++ b/rigs/icom/icom.h @@ -31,7 +31,7 @@ #include #endif -#define BACKEND_VER "20200601" +#define BACKEND_VER "20200603" /* * defines used by comp_cal_str in rig.c