Completely remove single ; valcmd in newcat.c

pull/1297/head
Mike Black W9MDB 2023-05-16 17:16:28 -05:00
rodzic bba58dff7b
commit 630f5866a7
1 zmienionych plików z 0 dodań i 17 usunięć

Wyświetl plik

@ -10861,23 +10861,6 @@ int newcat_set_cmd_validate(RIG *rig)
if (strlen(valcmd) == 0) { RETURNFUNC(RIG_OK); }
// we can use a single ; to get a response of ?; for some rigs
// this list can be expanded as we get more testing
// seems newer rigs have this older ones time out
switch (rig->caps->rig_model)
{
case RIG_MODEL_FT991:
case RIG_MODEL_FTDX101MP:
case RIG_MODEL_FTDX3000:
strcpy(valcmd, "ID;");
break;
// these models do not work with a single ;
case RIG_MODEL_FT897:
default:
break;
}
SNPRINTF(cmd, sizeof(cmd), "%s", valcmd);
rc = write_block(&state->rigport, (unsigned char *) cmd, strlen(cmd));