kopia lustrzana https://github.com/Hamlib/Hamlib
Do not reset cache for unidirectional rigs
https://github.com/Hamlib/Hamlib/issues/1187pull/1215/head
rodzic
9508c45f00
commit
04f5195cfd
|
@ -1894,8 +1894,13 @@ int HAMLIB_API rig_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
|
|||
&& rig->state.cache.timeout_ms > 0
|
||||
#endif
|
||||
)
|
||||
{
|
||||
// Unidirectional rigs do not reset cache
|
||||
if (rig->caps->rig_model != RIG_MODEL_FT736R)
|
||||
{
|
||||
rig_set_cache_freq(rig, RIG_VFO_ALL, (freq_t)0);
|
||||
}
|
||||
|
||||
HAMLIB_TRACE;
|
||||
retcode = rig_get_freq(rig, vfo, &freq_new);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue