kopia lustrzana https://github.com/Hamlib/Hamlib
Trying to get IC9700 split working with WSJTX
Changed get_split_vfos to recognize priv->split_onpull/224/head
rodzic
18cc118443
commit
539df1624d
|
@ -3367,13 +3367,18 @@ int icom_get_split_vfos(const RIG *rig, vfo_t *rx_vfo, vfo_t *tx_vfo)
|
|||
}
|
||||
else if (VFO_HAS_MAIN_SUB_A_B_ONLY)
|
||||
{
|
||||
// TBD -- newer rigs we need to find active VFO
|
||||
// priv->curvfo if VFOA then A/B response else priv->curvfo=Main Main/Sub response
|
||||
// For now we return Main/Sub
|
||||
*rx_vfo = priv->rx_vfo = RIG_VFO_MAIN;
|
||||
*tx_vfo = priv->tx_vfo = RIG_VFO_SUB;
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: VFO_HAS_MAIN_SUB_A_B_ONLY, rx=%s, tx=%s\n",
|
||||
__func__, rig_strvfo(*rx_vfo), rig_strvfo(*tx_vfo));
|
||||
// e.g. IC9700 split on Main/Sub does not work
|
||||
// only Main VFOA/B and SubRx/MainTx split works
|
||||
if (priv->split_on) {
|
||||
*rx_vfo = priv->rx_vfo = RIG_VFO_A;
|
||||
*tx_vfo = priv->tx_vfo = RIG_VFO_B;
|
||||
}
|
||||
else {
|
||||
*rx_vfo = priv->rx_vfo = RIG_VFO_SUB;
|
||||
*tx_vfo = priv->tx_vfo = RIG_VFO_MAIN;
|
||||
}
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: VFO_HAS_MAIN_SUB_A_B_ONLY, split=%d, rx=%s, tx=%s\n",
|
||||
__func__, priv->split_on, rig_strvfo(*rx_vfo), rig_strvfo(*tx_vfo));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "0.31"
|
||||
#define BACKEND_VER "0.31a"
|
||||
|
||||
/*
|
||||
* defines used by comp_cal_str in rig.c
|
||||
|
|
Ładowanie…
Reference in New Issue