kopia lustrzana https://github.com/Hamlib/Hamlib
transfox: fix set/get_freq by setting current vfo
rodzic
c891b3c234
commit
b9c2294d89
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue