kopia lustrzana https://github.com/Hamlib/Hamlib
Remove collision_retry=0 in icom/frame.c -- was causing a loop when random data received
https://github.com/Hamlib/Hamlib/issues/1604pull/1628/head
rodzic
5b1df09ad0
commit
49e870cfb8
|
@ -329,7 +329,12 @@ again2:
|
|||
// https://github.com/Hamlib/Hamlib/issues/1575
|
||||
// these types of async can interrupt the cmd we sent
|
||||
// if our host number changes must not be for us
|
||||
collision_retry = 0;
|
||||
if (icom_is_async_frame(rig, frm_len, buf))
|
||||
{
|
||||
icom_process_async_frame(rig, frm_len, buf);
|
||||
goto again2;
|
||||
}
|
||||
|
||||
if (sendbuf[3] != buf[2])
|
||||
{
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s: unknown async? read again\n", __func__);
|
||||
|
@ -341,12 +346,6 @@ again2:
|
|||
}
|
||||
|
||||
|
||||
if (icom_is_async_frame(rig, frm_len, buf))
|
||||
{
|
||||
icom_process_async_frame(rig, frm_len, buf);
|
||||
goto again2;
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
||||
// this was causing rigctld to fail on IC706 and WSJT-X
|
||||
|
|
Ładowanie…
Reference in New Issue