kopia lustrzana https://github.com/Hamlib/Hamlib
Fix non-targetable VFO Icom rigs (e.g. IC7100) error during open routine by call get_freq first to establish echo on or off
https://github.com/Hamlib/Hamlib/issues/1358pull/1349/head
rodzic
dfb923e001
commit
55370c1e64
10
src/rig.c
10
src/rig.c
|
@ -2317,6 +2317,15 @@ int HAMLIB_API rig_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
|
|||
}
|
||||
|
||||
HAMLIB_TRACE;
|
||||
retcode = caps->get_freq(rig, vfo, freq);
|
||||
|
||||
if (retcode != RIG_OK)
|
||||
{
|
||||
ELAPSED2;
|
||||
LOCK(0);
|
||||
RETURNFUNC(retcode);
|
||||
}
|
||||
|
||||
retcode = caps->set_vfo(rig, vfo);
|
||||
|
||||
if (retcode != RIG_OK)
|
||||
|
@ -7773,6 +7782,7 @@ static int async_data_handler_start(RIG *rig)
|
|||
rs->async_data_enabled);
|
||||
RETURNFUNC(RIG_OK);
|
||||
}
|
||||
sleep(2); // give other things a chance to finish opening up the rig
|
||||
|
||||
#ifdef HAVE_PTHREAD
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue