kopia lustrzana https://github.com/Hamlib/Hamlib
Merge branch 'master' of https://github.com/Hamlib/Hamlib
commit
0d5547db35
|
@ -776,7 +776,7 @@ icom_rig_open(RIG *rig)
|
||||||
priv->tx_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
|
#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
|
icom_get_freq_range(rig); // try get to get rig range capability dyamically
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1295,9 +1295,12 @@ int HAMLIB_API rig_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
|
||||||
rig->state.current_freq = freq;
|
rig->state.current_freq = freq;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (retcode == RIG_OK)
|
||||||
|
{
|
||||||
elapsed_ms(&rig->state.cache.time_ptt, ELAPSED_SET);
|
elapsed_ms(&rig->state.cache.time_ptt, ELAPSED_SET);
|
||||||
rig->state.cache.freq = freq;
|
rig->state.cache.freq = freq;
|
||||||
rig->state.cache.vfo_freq = vfo;
|
rig->state.cache.vfo_freq = vfo;
|
||||||
|
}
|
||||||
|
|
||||||
return retcode;
|
return retcode;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue