kopia lustrzana https://github.com/Hamlib/Hamlib
For kenwood_transaction only retry when data reponse is expected
rodzic
adc448e87d
commit
156661f2f3
|
@ -320,7 +320,8 @@ transaction_read:
|
||||||
|
|
||||||
if (retval < 0)
|
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;
|
goto transaction_write;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue