Remove block setting VFO_A -- does not work with rigs that don't have

VFO_A
https://github.com/Hamlib/Hamlib/issues/274
pull/281/head
Michael Black 2020-06-01 17:38:03 -05:00
rodzic 567cd7145e
commit 00031994c6
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -1128,6 +1128,7 @@ int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
}
}
#if 0 // does not work with rigs without VFO_A
if (vfo == RIG_VFO_CURR)
{
vfo = priv->curr_vfo;
@ -1135,6 +1136,7 @@ int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
rig_debug(RIG_DEBUG_VERBOSE, "%s: CurrVFO changed to %s\n", __func__,
rig_strvfo(vfo));
}
#endif
retval = set_vfo_curr(rig, vfo, priv->curr_vfo);

Wyświetl plik

@ -31,7 +31,7 @@
#include <sys/time.h>
#endif
#define BACKEND_VER "20200525"
#define BACKEND_VER "20200601"
/*
* defines used by comp_cal_str in rig.c