transfox: fix set/get_freq by setting current vfo

Hamlib-1.2.15
Stephane Fillod 2011-12-23 00:58:08 +01:00
rodzic c891b3c234
commit b9c2294d89
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -139,7 +139,7 @@ const struct rig_caps transfox_caps = {
.priv = (void *)&transfox_priv_caps,
.rig_init = kenwood_init,
.rig_cleanup = kenwood_cleanup,
.rig_cleanup = kenwood_cleanup,
.rig_open = transfox_open,
.set_freq = kenwood_set_freq,
.get_freq = kenwood_get_freq,
@ -170,6 +170,8 @@ int transfox_open(RIG *rig)
{
rig_debug(RIG_DEBUG_TRACE, "%s called\n", __func__);
rig->state.current_vfo = RIG_VFO_A;
/* do not call kenwood_open(rig), rig has no "ID" command */
return RIG_OK;