Fix FTDX101D/MP to not validate ST command

https://github.com/Hamlib/Hamlib/issues/1379
pull/1389/head
Mike Black W9MDB 2023-09-11 16:17:54 -05:00
rodzic c07e40e18b
commit 6f229d1c1a
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -11099,9 +11099,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
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, "TX", 2) == 0
|| strncmp(priv->cmd_str, "ST", 2) == 0)
{
RETURNFUNC(RIG_OK);
}

Wyświetl plik

@ -50,7 +50,7 @@
typedef char ncboolean;
/* shared function version */
#define NEWCAT_VER "20230907"
#define NEWCAT_VER "20230911"
/* Hopefully large enough for future use, 128 chars plus '\0' */
#define NEWCAT_DATA_LEN 129