For kenwood_transaction only retry when data reponse is expected

pull/224/head
Michael Black 2020-04-01 22:29:09 -05:00
rodzic adc448e87d
commit 156661f2f3
1 zmienionych plików z 2 dodań i 1 usunięć
rigs/kenwood

Wyświetl plik

@ -320,7 +320,8 @@ transaction_read:
if (retval < 0)
{
if (retry_read++ < rs->rigport.retry)
// only retry if we expect a response from the command
if (datasize && retry_read++ < rs->rigport.retry)
{
goto transaction_write;
}