kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
59dcb2e9b6
commit
68d4388df2
|
@ -9727,8 +9727,6 @@ int newcat_set_cmd_validate(RIG *rig)
|
||||||
RETURNFUNC(-RIG_ENIMPL);
|
RETURNFUNC(-RIG_ENIMPL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strlen(valcmd) == 0) { return RIG_OK; }
|
|
||||||
|
|
||||||
while (rc != RIG_OK && retry++ < retries)
|
while (rc != RIG_OK && retry++ < retries)
|
||||||
{
|
{
|
||||||
int bytes;
|
int bytes;
|
||||||
|
@ -9739,6 +9737,8 @@ int newcat_set_cmd_validate(RIG *rig)
|
||||||
|
|
||||||
if (rc != RIG_OK) { RETURNFUNC(-RIG_EIO); }
|
if (rc != RIG_OK) { RETURNFUNC(-RIG_EIO); }
|
||||||
|
|
||||||
|
if (strlen(valcmd) == 0) { RETURNFUNC(RIG_OK); }
|
||||||
|
|
||||||
bytes = read_string(&state->rigport, priv->ret_data, sizeof(priv->ret_data),
|
bytes = read_string(&state->rigport, priv->ret_data, sizeof(priv->ret_data),
|
||||||
&cat_term, sizeof(cat_term));
|
&cat_term, sizeof(cat_term));
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
typedef char ncboolean;
|
typedef char ncboolean;
|
||||||
|
|
||||||
/* shared function version */
|
/* shared function version */
|
||||||
#define NEWCAT_VER "20210308"
|
#define NEWCAT_VER "20210309"
|
||||||
|
|
||||||
/* 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