kopia lustrzana https://github.com/Hamlib/Hamlib
Fix MD cmd for Win4Yaesu by not validating it. Was not responding fast enough and timing out during validation efforts
https://github.com/Hamlib/Hamlib/issues/1381pull/1389/head
rodzic
81e14ae4f1
commit
5b4654024a
|
@ -10890,9 +10890,13 @@ int newcat_set_cmd_validate(RIG *rig)
|
|||
}
|
||||
else if ((strncmp(priv->cmd_str, "MD", 2) == 0) && (strlen(priv->cmd_str) > 3))
|
||||
{
|
||||
#if 0
|
||||
strcpy(valcmd, priv->cmd_str); // pull the needed part of the cmd
|
||||
valcmd[3] = ';';
|
||||
valcmd[4] = 0;
|
||||
#endif
|
||||
// Win4Yaesu was not responding fast enough to validate the MD cmd
|
||||
strcpy(valcmd, "");
|
||||
}
|
||||
else if ((strncmp(priv->cmd_str, "TX", 2) == 0) && (strlen(priv->cmd_str) > 3))
|
||||
{
|
||||
|
@ -11101,10 +11105,11 @@ int newcat_set_cmd(RIG *rig)
|
|||
}
|
||||
|
||||
// freq set and ptt are now verified in rig.c
|
||||
// ST command is not validate -- caused problems on FTDX101D
|
||||
// ST command is not validated -- caused problems on FTDX101D
|
||||
if (strncmp(priv->cmd_str, "FA", 2) == 0
|
||||
|| strncmp(priv->cmd_str, "FB", 2) == 0
|
||||
|| strncmp(priv->cmd_str, "TX", 2) == 0
|
||||
|| strncmp(priv->cmd_str, "MD", 2) == 0 // Win4Yaesu not responding fast enough on MD change
|
||||
|| strncmp(priv->cmd_str, "ST", 2) == 0)
|
||||
{
|
||||
RETURNFUNC(RIG_OK);
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
typedef char ncboolean;
|
||||
|
||||
/* shared function version */
|
||||
#define NEWCAT_VER "20230911"
|
||||
#define NEWCAT_VER "20230912"
|
||||
|
||||
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
||||
#define NEWCAT_DATA_LEN 129
|
||||
|
|
Ładowanie…
Reference in New Issue