Another attempt to fix x108g_set_ptt

pull/1102/head
Mike Black W9MDB 2022-08-01 15:02:22 -05:00
rodzic 998715f3f4
commit 65a2101aff
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);