Fix order of calls in icom_get_split_vfos
Need to set split before getting vfos
pull/224/head
mdblack98 2020-04-23 22:48:47 -05:00
rodzic ce2502e2f6
commit 7a075ae9fd
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -4651,10 +4651,11 @@ int icom_get_split_vfo(RIG *rig, vfo_t vfo, split_t *split, vfo_t *tx_vfo)
rig_get_func(rig, RIG_VFO_CURR, RIG_FUNC_SATMODE, &satmode);
priv->split_on = RIG_SPLIT_ON == *split;
icom_get_split_vfos(rig, &priv->rx_vfo, &priv->tx_vfo);
*tx_vfo = priv->tx_vfo;
priv->split_on = RIG_SPLIT_ON == *split;
rig_debug(RIG_DEBUG_VERBOSE, "%s: vfo=%s rx_vfo=%s tx_vfo=%s split=%d\n",
__func__, rig_strvfo(vfo), rig_strvfo(priv->rx_vfo),
rig_strvfo(priv->tx_vfo), *split);

Wyświetl plik

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