kopia lustrzana https://github.com/Hamlib/Hamlib
Add 600ms wait when newcat.c see rig busy
https://github.com/Hamlib/Hamlib/issues/1100pull/1102/head
rodzic
6965927fb4
commit
179ee66f0d
|
@ -10381,6 +10381,8 @@ int newcat_get_cmd(RIG *rig)
|
||||||
|
|
||||||
rig_debug(RIG_DEBUG_WARN, "%s: Rig busy - retrying %d of %d: '%s'\n", __func__,
|
rig_debug(RIG_DEBUG_WARN, "%s: Rig busy - retrying %d of %d: '%s'\n", __func__,
|
||||||
retry_count, state->rigport.retry, priv->cmd_str);
|
retry_count, state->rigport.retry, priv->cmd_str);
|
||||||
|
// DX3000 was taking 1.6 seconds in certain command sequences
|
||||||
|
hl_usleep(600*1000); // 600ms wait should cover most cases hopefully
|
||||||
|
|
||||||
rc = -RIG_ERJCTED; /* retry */
|
rc = -RIG_ERJCTED; /* retry */
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
typedef char ncboolean;
|
typedef char ncboolean;
|
||||||
|
|
||||||
/* shared function version */
|
/* shared function version */
|
||||||
#define NEWCAT_VER "20220816"
|
#define NEWCAT_VER "20220819"
|
||||||
|
|
||||||
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
||||||
#define NEWCAT_DATA_LEN 129
|
#define NEWCAT_DATA_LEN 129
|
||||||
|
|
Ładowanie…
Reference in New Issue