kopia lustrzana https://github.com/Hamlib/Hamlib
Add forced cache timeouts for ft980.
rodzic
b45bc3055c
commit
24ae62b4e5
|
@ -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);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue