Fix RIG_VFO_NONE problem in icom.c

https://github.com/Hamlib/Hamlib/issues/270
pull/281/head
Michael Black W9MDB 2020-05-30 16:57:38 -05:00
rodzic ff4882f1cd
commit 5df9f81bef
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -1131,6 +1131,7 @@ int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
if (vfo == RIG_VFO_CURR)
{
vfo = priv->curr_vfo;
if (vfo == RIG_VFO_NONE) vfo = RIG_VFO_A;
rig_debug(RIG_DEBUG_VERBOSE, "%s: CurrVFO changed to %s\n", __func__,
rig_strvfo(vfo));
}