Allow cached freq and mode to be used when rig is in transceive mode

https://github.com/Hamlib/Hamlib/issues/1108
pull/1119/head
Mike Black W9MDB 2022-09-05 15:29:53 -05:00
rodzic 9cb511af00
commit 7da1a1f6a1
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -597,6 +597,7 @@ int rig_fire_freq_event(RIG *rig, vfo_t vfo, freq_t freq)
(int64_t)freq, rig_strvfo(vfo));
rig_set_cache_freq(rig, vfo, freq);
rig->state.use_cached_freq = 1;
network_publish_rig_transceive_data(rig);
@ -617,6 +618,7 @@ int rig_fire_mode_event(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
rig_strrmode(mode), width, rig_strvfo(vfo));
rig_set_cache_mode(rig, vfo, mode, width);
rig->state.use_cached_mode = 1;
network_publish_rig_transceive_data(rig);