kopia lustrzana https://github.com/Hamlib/Hamlib
Allow 0xfb for x108g_set_ptt
rodzic
0b059cdb93
commit
998715f3f4
|
@ -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)
|
||||
if (ack_len != 3 || (ackbuf[0] != 0x1c && ackbuf[0] != 0xfb))
|
||||
{
|
||||
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