kopia lustrzana https://github.com/Hamlib/Hamlib
Add rig_get_freq to rig_open to set up internal status correctly
rodzic
bcc80fef79
commit
bc607bfc1d
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue