[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. bc607bfc1dc7586db23ce
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-19 12:35:16
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Hamlib -- Ham radio control libraries". The branch, master has been updated via bc607bfc1dc7586db23cea469dabb5705383c8a3 (commit) from bcc80fef79ef77b4242441e71ba09d6cd70650c0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit bc607bfc1dc7586db23cea469dabb5705383c8a3 Author: Michael Black W9MDB <mdb...@ya...> Date: Tue Jan 19 06:30:00 2021 -0600 Add rig_get_freq to rig_open to set up internal status correctly diff --git a/src/rig.c b/src/rig.c index e27db2b5..5b920e8f 100644 --- a/src/rig.c +++ b/src/rig.c @@ -991,6 +991,10 @@ int HAMLIB_API rig_open(RIG *rig) } #endif + // read frequence to update internal status + freq_t freq; + if (caps->get_freq) rig_get_freq(rig, RIG_VFO_A, &freq); + if (caps->get_freq) rig_get_freq(rig, RIG_VFO_B, &freq); RETURNFUNC(RIG_OK); } ----------------------------------------------------------------------- Summary of changes: src/rig.c | 4 ++++ 1 file changed, 4 insertions(+) hooks/post-receive -- Hamlib -- Ham radio control libraries |