Skip to content

Commit

Permalink
transfox: fix set/get_freq by setting current vfo
Browse files Browse the repository at this point in the history
  • Loading branch information
fillods committed Dec 22, 2011
1 parent c891b3c commit b9c2294
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kenwood/transfox.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b9c2294

Please sign in to comment.