Skip to content

Commit

Permalink
k3.c fix get_mode for VFOB
Browse files Browse the repository at this point in the history
  • Loading branch information
mdblack98 committed Mar 1, 2021
1 parent 2e56014 commit 260c746
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rigs/kenwood/k3.c
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,11 @@ int k3_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
return -RIG_EINVAL;
}

if (vfo == RIG_VFO_CURR)
{
vfo = rig->state.current_vfo;
}

err = kenwood_get_mode(rig, vfo, &temp_m, &temp_w);

if (err != RIG_OK)
Expand Down

0 comments on commit 260c746

Please sign in to comment.