mirror of
https://github.com/Hamlib/Hamlib
synced 2026-08-13 17:32:05 -04:00
Fix set_vfo in jst145.c
This commit is contained in:
parent
c67f53ee79
commit
fd05de48aa
1 changed files with 2 additions and 0 deletions
|
|
@ -423,6 +423,8 @@ static int jst145_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
|
|||
rig_debug(RIG_DEBUG_VERBOSE, "%s: vfo=%s curr_vfo=%s\n", __func__,
|
||||
rig_strvfo(vfo), rig_strvfo(save_vfo));
|
||||
|
||||
if (vfo == RIG_VFO_CURR) vfo = save_vfo;
|
||||
|
||||
if (save_vfo != vfo)
|
||||
{
|
||||
rig_set_vfo(rig, vfo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue