Fix one more cache expire for caps->get_vfo

https://github.com/Hamlib/Hamlib/issues/270
pull/281/head
Michael Black W9MDB 2020-05-31 10:05:44 -05:00
rodzic 785dd267d5
commit cbe269077b
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -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;
}