Add forced cache timeouts for ft980.

Hamlib-3.0
Spencer Berger 2015-02-06 12:15:09 -08:00
rodzic b45bc3055c
commit 24ae62b4e5
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -675,6 +675,8 @@ int ft980_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
/* store bcd format in cmd (MSB) */
to_bcd(cmd,freq/10,8);
rig_force_cache_timeout(&priv->status_tv);
/* Frequency set */
return ft980_transaction(rig, cmd, UPDATE_DATA_OFS(&priv->update_data,5), 5);
}
@ -735,6 +737,8 @@ int ft980_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
cmd[3] = md;
rig_force_cache_timeout(&priv->status_tv);
/* Mode set */
return ft980_transaction(rig, cmd, UPDATE_DATA_OFS(&priv->update_data,22), 22);
}