kopia lustrzana https://github.com/Hamlib/Hamlib
Fix gpredict behavior with cross band split
Yaesu memory will be ignored for now when in split mode
We may want to allow it when we allow for VFOA/B caching
https://github.com/Hamlib/Hamlib/issues/470
(cherry picked from commit e5b7a5442d
)
Hamlib-4.0
rodzic
d1a1247cdb
commit
bd6652e7dd
|
@ -783,8 +783,10 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
|
|||
|
||||
//
|
||||
// Restore band memory if we can and band is changing -- we do it before we set the frequency
|
||||
// And only when not in split mode
|
||||
if (newcat_valid_command(rig, "BS")
|
||||
&& newcat_band_index(freq) != newcat_band_index(rig->state.current_freq))
|
||||
&& newcat_band_index(freq) != newcat_band_index(rig->state.current_freq)
|
||||
&& !rig->state.cache.split)
|
||||
{
|
||||
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "BS%02d%c",
|
||||
newcat_band_index(freq), cat_term);
|
||||
|
|
Ładowanie…
Reference in New Issue