Merge branch 'kenwood-read-retries' of git://git.code.sf.net/u/bsomervi/hamlib

pull/281/head
Michael Black 2020-05-28 11:31:19 -05:00
commit c21bc22bfc
1 zmienionych plików z 9 dodań i 2 usunięć

Wyświetl plik

@ -360,9 +360,16 @@ transaction_read:
retval, retry_read, rs->rigport.retry);
// only retry if we expect a response from the command
if (datasize && retry_read++ < rs->rigport.retry)
if (retry_read++ < rs->rigport.retry)
{
goto transaction_write;
if (datasize)
{
goto transaction_write;
}
else if (-RIG_ETIMEOUT == retval)
{
goto transaction_read;
}
}
goto transaction_quit;