kopia lustrzana https://github.com/Hamlib/Hamlib
Add additional get_freq if freq > 100MHz to update cache
This covers rigs that round VHF/UHF freqs to different intervals https://github.com/Hamlib/Hamlib/issues/334pull/345/head
rodzic
5ebb95bb43
commit
699927b3e7
|
@ -1362,6 +1362,7 @@ int HAMLIB_API rig_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
|
|||
// we'll try this all the time and if it works out OK eliminate the #else
|
||||
|
||||
if ((unsigned long long)freq % 100 != 0 // only need to do if < 100Hz interval
|
||||
|| freq > 100e6 // or if we are in the VHF and up range
|
||||
#if 0
|
||||
// do we need to only do this when cache is turned on? 2020-07-02 W9MDB
|
||||
&& rig->state.cache.timeout_ms > 0
|
||||
|
|
Ładowanie…
Reference in New Issue