Return early in icom/frame.c on BUSERROR

pull/1404/head
Mike Black W9MDB 2023-10-14 12:01:15 -05:00
rodzic 534fe449a2
commit e2354333f3
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -462,7 +462,8 @@ int icom_transaction(RIG *rig, int cmd, int subcmd,
retval = icom_one_transaction(rig, cmd, subcmd, payload, payload_len, data,
data_len);
if (retval == RIG_OK || retval == -RIG_ERJCTED)
// codes that make us return immediately
if (retval == RIG_OK || retval == -RIG_ERJCTED || retval == -RIG_BUSERROR)
{
break;
}