kopia lustrzana https://github.com/Hamlib/Hamlib
Merge branch 'master' of https://github.com/mdblack98/Hamlib
commit
da26ff74d8
|
@ -2163,7 +2163,7 @@ struct rig_caps netrigctl_caps =
|
|||
.dcd_type = RIG_DCD_RIG,
|
||||
.port_type = RIG_PORT_NETWORK,
|
||||
.timeout = 2500, /* enough for a network */
|
||||
.retry = 2,
|
||||
.retry = 3,
|
||||
|
||||
/* following fields updated in rig_state at openning time */
|
||||
.has_get_func = RIG_FUNC_NONE,
|
||||
|
|
|
@ -326,6 +326,7 @@ transaction_read:
|
|||
|
||||
if (retval < 0)
|
||||
{
|
||||
rig_debug(RIG_DEBUG_WARN, "%s: read_string retval < 0, retval = %d, retry_read=%d, retry=%d\n", __func__, retval);
|
||||
// only retry if we expect a response from the command
|
||||
if (datasize && retry_read++ < rs->rigport.retry)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue