kopia lustrzana https://github.com/Hamlib/Hamlib
Fix one more cache expire for caps->get_vfo
https://github.com/Hamlib/Hamlib/issues/270pull/281/head
rodzic
785dd267d5
commit
cbe269077b
|
@ -1993,6 +1993,9 @@ int HAMLIB_API rig_get_vfo(RIG *rig, vfo_t *vfo)
|
|||
rig->state.cache.vfo = *vfo;
|
||||
cache_ms = elapsed_ms(&rig->state.cache.time_vfo, ELAPSED_SET);
|
||||
}
|
||||
else {
|
||||
cache_ms = elapsed_ms(&rig->state.cache.time_vfo, ELAPSED_INVALIDATE);
|
||||
}
|
||||
|
||||
return retcode;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue