kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
e257116689
commit
32ce1bae50
|
@ -943,7 +943,10 @@ icom_rig_open(RIG *rig)
|
|||
retry_open:
|
||||
retval_echo = icom_get_usb_echo_off(rig);
|
||||
|
||||
if (retval_echo == 0 || retval_echo == 1) // then we know our echo status
|
||||
if (retval_echo == 0 || retval_echo == 1) { retval = RIG_OK; }
|
||||
else { retval = retval_echo; }
|
||||
|
||||
if (retval == RIG_OK) // then we know our echo status
|
||||
{
|
||||
rig->state.current_vfo = icom_current_vfo(rig);
|
||||
// some rigs like the IC7100 still echo when in standby
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20211212"
|
||||
#define BACKEND_VER "20211213"
|
||||
|
||||
#define ICOM_IS_SECONDARY_VFO(vfo) ((vfo) & (RIG_VFO_B | RIG_VFO_SUB | RIG_VFO_SUB_B | RIG_VFO_MAIN_B))
|
||||
#define ICOM_GET_VFO_NUMBER(vfo) (ICOM_IS_SECONDARY_VFO(vfo) ? 0x01 : 0x00)
|
||||
|
|
Ładowanie…
Reference in New Issue