Invalidate frequency cache after setting frequency for ft897.

Hamlib-3.0
Spencer Berger 2015-02-04 07:59:47 -08:00
rodzic d4a22408f7
commit e78e6d1d42
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -729,6 +729,9 @@ int ft897_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
/* fill in the frequency */
to_bcd_be(data, (freq + 5) / 10, 8);
/*invalidate frequency cache*/
rig_force_cache_timeout(&((struct ft897_priv_data *) rig->state.priv)->fm_status_tv);
return ft897_send_icmd(rig, FT897_NATIVE_CAT_SET_FREQ, data);
}