From cc9dfd3b0ea28c489a967f222b7ff357333db8f3 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sat, 6 Jun 2020 02:24:04 +0100 Subject: [PATCH] Fixing an operator precedence defect --- 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 1697521d0..6a9ed80ea 100644 --- a/rigs/icom/icom.c +++ b/rigs/icom/icom.c @@ -4668,7 +4668,7 @@ int icom_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t tx_vfo) } // This should automaticaly switch between satmode on/off based on the requested split vfo - if (tx_vfo == RIG_VFO_SUB || tx_vfo == RIG_VFO_MAIN && !rig->state.cache.satmode) + if ((tx_vfo == RIG_VFO_SUB || tx_vfo == RIG_VFO_MAIN) && !rig->state.cache.satmode) { rig_debug(RIG_DEBUG_VERBOSE, "%s: VFO_SUB and satmode is off so turning on\n", __func__);