mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-21 10:27:18 +00:00
Hopefully fix IC-7100 0xe1 packet async problem
This commit is contained in:
parent
47d1dbb030
commit
725542775b
@ -206,6 +206,15 @@ again1:
|
||||
RETURNFUNC(-RIG_EPROTO);
|
||||
}
|
||||
|
||||
// https://github.com/Hamlib/Hamlib/issues/1575
|
||||
// these types of async can interrupt the cmd we sent
|
||||
if (sendbuf[3] != buf[2] && buf[4] == 0x03)
|
||||
{
|
||||
hl_usleep(100);
|
||||
rig_flush(rp);
|
||||
goto collision_retry;
|
||||
}
|
||||
|
||||
if (icom_is_async_frame(rig, frm_len, buf))
|
||||
{
|
||||
icom_process_async_frame(rig, frm_len, buf);
|
||||
|
Loading…
Reference in New Issue
Block a user