Add get_split to flrig_open

pull/1022/head
Mike Black W9MDB 2022-05-03 12:02:57 -05:00
rodzic 79180089a6
commit 19c17eb5ba
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -142,7 +142,7 @@ const struct rig_caps flrig_caps =
RIG_MODEL(RIG_MODEL_FLRIG), RIG_MODEL(RIG_MODEL_FLRIG),
.model_name = "FLRig", .model_name = "FLRig",
.mfg_name = "FLRig", .mfg_name = "FLRig",
.version = "20220425.0", .version = "20220503.0",
.copyright = "LGPL", .copyright = "LGPL",
.status = RIG_STATUS_STABLE, .status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_TRANSCEIVER, .rig_type = RIG_TYPE_TRANSCEIVER,
@ -784,6 +784,9 @@ static int flrig_open(RIG *rig)
rmode_t modes; rmode_t modes;
char *p; char *p;
char *pr; char *pr;
split_t split;
vfo_t tx_vfo;
struct flrig_priv_data *priv = (struct flrig_priv_data *) rig->state.priv; struct flrig_priv_data *priv = (struct flrig_priv_data *) rig->state.priv;
ENTERFUNC; ENTERFUNC;
@ -1029,7 +1032,7 @@ static int flrig_open(RIG *rig)
rig_debug(RIG_DEBUG_VERBOSE, "%s: hamlib modes=%s\n", __func__, value); rig_debug(RIG_DEBUG_VERBOSE, "%s: hamlib modes=%s\n", __func__, value);
rig_get_split_vfo(rig, RIG_VFO_A, &split, &tx_vfo);
RETURNFUNC(retval); RETURNFUNC(retval);
} }