kopia lustrzana https://github.com/Hamlib/Hamlib
Another attempt to fix x108g_set_ptt
rodzic
998715f3f4
commit
65a2101aff
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue