kopia lustrzana https://github.com/Hamlib/Hamlib
icom.c put one more satmode call in a RIG_FUNC_SATMODE clause
https://github.com/Hamlib/Hamlib/issues/288pull/290/head
rodzic
c5732d542e
commit
718fcdf0c1
|
@ -756,7 +756,9 @@ icom_rig_open(RIG *rig)
|
|||
}
|
||||
}
|
||||
|
||||
// retval is important here so we always call for satmode
|
||||
if (rig->caps->has_get_func & RIG_FUNC_SATMODE)
|
||||
{
|
||||
// retval is important here -- used below
|
||||
retval = rig_get_func(rig, RIG_VFO_CURR, RIG_FUNC_SATMODE, &satmode);
|
||||
rig->state.cache.satmode = satmode;
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s: satmode=%d\n", __func__, satmode);
|
||||
|
@ -773,6 +775,7 @@ icom_rig_open(RIG *rig)
|
|||
priv->rx_vfo = RIG_VFO_MAIN;
|
||||
priv->tx_vfo = RIG_VFO_MAIN;
|
||||
}
|
||||
}
|
||||
|
||||
#if 0 // do not do this here -- needs to be done when ranges are requested instead as this is very slow
|
||||
icom_get_freq_range(rig); // try get to get rig range capability dyamically
|
||||
|
|
Ładowanie…
Reference in New Issue