kopia lustrzana https://github.com/Hamlib/Hamlib
Merge branch 'master' of https://github.com/mdblack98/Hamlib
commit
81252c7b31
|
@ -3701,7 +3701,7 @@ int icom_set_split_freq(RIG *rig, vfo_t vfo, freq_t tx_freq)
|
||||||
// Then we return the VFO to where it was
|
// Then we return the VFO to where it was
|
||||||
if (save_vfo == RIG_VFO_MAIN && priv->split_on) { save_vfo = RIG_VFO_A; }
|
if (save_vfo == RIG_VFO_MAIN && priv->split_on) { save_vfo = RIG_VFO_A; }
|
||||||
|
|
||||||
rig_debug(RIG_DEBUG_TRACE, "%s: SATMODE rig so setting vfo to %s\n", __func__,
|
rig_debug(RIG_DEBUG_TRACE, "%s: SATMODE split_on rig so setting vfo to %s\n", __func__,
|
||||||
rig_strvfo(save_vfo));
|
rig_strvfo(save_vfo));
|
||||||
|
|
||||||
if (RIG_OK != (rc = icom_set_vfo(rig, save_vfo)))
|
if (RIG_OK != (rc = icom_set_vfo(rig, save_vfo)))
|
||||||
|
@ -6659,7 +6659,8 @@ int icom_get_freq_range(RIG *rig)
|
||||||
unsigned char ackbuf[MAXFRAMELEN];
|
unsigned char ackbuf[MAXFRAMELEN];
|
||||||
int ack_len = sizeof(ackbuf);
|
int ack_len = sizeof(ackbuf);
|
||||||
struct icom_priv_data *priv = (struct icom_priv_data *) rig->state.priv;
|
struct icom_priv_data *priv = (struct icom_priv_data *) rig->state.priv;
|
||||||
int freq_len = priv->civ_731_mode ? 4 : 5;
|
// int freq_len = priv->civ_731_mode ? 4 : 5;
|
||||||
|
int freq_len = 4;
|
||||||
|
|
||||||
cmd = C_CTL_EDGE;
|
cmd = C_CTL_EDGE;
|
||||||
subcmd = 0;
|
subcmd = 0;
|
||||||
|
|
Ładowanie…
Reference in New Issue