kopia lustrzana https://github.com/Hamlib/Hamlib
Fix regression with slow responses from SmartSDR causing errors
This has been verified as a fix using SmartSDR v1.10.16 combined with a FlexRadio 6500.pull/281/head
rodzic
e3e5b5f33c
commit
9b1e0aa07d
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue