Add FTDX-9000 to Yaesu rigs that cannot deal with "VS0;VS;" and end up muting the VFO

pull/943/head
Mike Black W9MDB 2022-01-21 17:02:56 -06:00
rodzic 1eb474f2e6
commit 03aa7b1d83
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -10150,7 +10150,8 @@ int newcat_set_cmd_validate(RIG *rig)
else if ((strncmp(priv->cmd_str, "VS", 2) == 0) && (strlen(priv->cmd_str) > 3))
{
strcpy(valcmd, "VS;");
if (priv->rig_id == NC_RIGID_FTDX3000)
// Some models treat the 2nd VS as a mute request
if (is_ftdx3000 || is_ftdx9000)
{
strcpy(valcmd, "");
}

Wyświetl plik

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