diff --git a/rigs/icom/xiegu.c b/rigs/icom/xiegu.c index 2c56238b8..c27d7be90 100644 --- a/rigs/icom/xiegu.c +++ b/rigs/icom/xiegu.c @@ -879,7 +879,7 @@ int x108g_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt) } /* X108G doesn't quite follow ICOM protocol -- returns 0x1c instead of 0xfb */ - if (ack_len != 3 || (ackbuf[0] != 0x1c && ackbuf[0] != 0xfb)) + if (ackbuf[0] != 0xfb && (ack_len != 3 || ackbuf[0] != 0x1c)) { rig_debug(RIG_DEBUG_ERR, "%s: ack NG (%#.2x), len=%d, ptt=%d\n", __func__, ackbuf[0], ack_len, ptt);