Remove collision_retry=0 in icom/frame.c -- was causing a loop when random data received

https://github.com/Hamlib/Hamlib/issues/1604
pull/1628/head
Mike Black W9MDB 2024-10-30 16:41:29 -05:00
rodzic 5b1df09ad0
commit 49e870cfb8
1 zmienionych plików z 6 dodań i 7 usunięć

Wyświetl plik

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