kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
517fb87b8b
commit
ea9a706743
|
@ -9439,9 +9439,9 @@ int newcat_set_cmd_validate(RIG *rig)
|
||||||
if (strcmp(priv->cmd_str, priv->ret_data)==0) return RIG_OK;
|
if (strcmp(priv->cmd_str, priv->ret_data)==0) return RIG_OK;
|
||||||
else rc = -RIG_EPROTO;
|
else rc = -RIG_EPROTO;
|
||||||
}
|
}
|
||||||
rig_debug(RIG_DEBUG_ERR, "%s: cmd validation failed, try#%d\n", __func__, retry);
|
rig_debug(RIG_DEBUG_ERR, "%s: cmd validation failed, '%s'!='%s', try#%d\n", __func__, priv->cmd_str, priv->ret_data, retry);
|
||||||
hl_usleep(sleepms*1000);
|
hl_usleep(sleepms*1000);
|
||||||
} while(--retry > 0);
|
}
|
||||||
return -RIG_EPROTO;
|
return -RIG_EPROTO;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
typedef char ncboolean;
|
typedef char ncboolean;
|
||||||
|
|
||||||
/* shared function version */
|
/* shared function version */
|
||||||
#define NEWCAT_VER "20210114"
|
#define NEWCAT_VER "20210115"
|
||||||
|
|
||||||
/* 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