From 6493d71e1bba807d24f4da73a31e7d6788b60ae3 Mon Sep 17 00:00:00 2001 From: Michael Black Date: Thu, 5 Mar 2020 14:31:19 -0600 Subject: [PATCH 1/2] Fix spelling error in icom.c --- rigs/icom/icom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rigs/icom/icom.c b/rigs/icom/icom.c index 412443443..b4c1c3e44 100644 --- a/rigs/icom/icom.c +++ b/rigs/icom/icom.c @@ -4288,7 +4288,7 @@ int icom_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t tx_vfo) priv->tx_vfo = RIG_VFO_B; priv->rx_vfo = RIG_VFO_A; rig_debug(RIG_DEBUG_TRACE, - "%s: tx=%s, rx=%s because tx_vfo=%s, charing tx_vfo to Main\n", __func__, + "%s: tx=%s, rx=%s because tx_vfo=%s, changing tx_vfo to Main\n", __func__, rig_strvfo(priv->tx_vfo), rig_strvfo(priv->rx_vfo), rig_strvfo(tx_vfo)); tx_vfo = RIG_VFO_B; From 59e92ab829c41693b5031499972d679ad81ef8c8 Mon Sep 17 00:00:00 2001 From: Michael Black Date: Thu, 5 Mar 2020 15:31:56 -0600 Subject: [PATCH 2/2] Fix set_split_vfo for IC9700 and similar rigs --- rigs/icom/icom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rigs/icom/icom.c b/rigs/icom/icom.c index b4c1c3e44..55dceb92f 100644 --- a/rigs/icom/icom.c +++ b/rigs/icom/icom.c @@ -1772,6 +1772,8 @@ int icom_set_vfo(RIG *rig, vfo_t vfo) case RIG_VFO_SUB: icvfo = S_SUB; + // If split is on these rigs can only split on Main/VFOB + if (VFO_HAS_MAIN_SUB_A_B_ONLY && priv->split_on) icvfo = S_VFOB; break; case RIG_VFO_TX: