Remove VFO from netrigctl.c get_vfo command

pull/538/head
Michael Black W9MDB 2021-02-07 23:28:16 -06:00
rodzic 0e4bbf85d7
commit 02a0f1303c
1 zmienionych plików z 2 dodań i 7 usunięć

Wyświetl plik

@ -830,18 +830,13 @@ static int netrigctl_get_vfo(RIG *rig, vfo_t *vfo)
int ret, len;
char cmd[CMD_MAX];
char buf[BUF_MAX];
char vfostr[16] = "";
struct netrigctl_priv_data *priv;
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
priv = (struct netrigctl_priv_data *)rig->state.priv;
ret = netrigctl_vfostr(rig, vfostr, sizeof(vfostr), RIG_VFO_A);
if (ret != RIG_OK) { return ret; }
len = sprintf(cmd, "v%s\n", vfostr);
len = sprintf(cmd, "v\n");
ret = netrigctl_transaction(rig, cmd, len, buf);
@ -2288,7 +2283,7 @@ struct rig_caps netrigctl_caps =
RIG_MODEL(RIG_MODEL_NETRIGCTL),
.model_name = "NET rigctl",
.mfg_name = "Hamlib",
.version = "20210204.0",
.version = "20210207.0",
.copyright = "LGPL",
.status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_OTHER,