kopia lustrzana https://github.com/Hamlib/Hamlib
Adding dynamic freq_range for Icoms
rodzic
c21fdf3747
commit
df1b7620db
|
@ -731,7 +731,8 @@ icom_rig_open(RIG *rig)
|
|||
rig->caps->version);
|
||||
retval = icom_get_usb_echo_off(rig);
|
||||
|
||||
if (retval >= 0) { return RIG_OK; }
|
||||
if (retval != RIG_OK)
|
||||
{
|
||||
|
||||
// maybe we need power on?
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s trying power on\n", __func__);
|
||||
|
@ -757,6 +758,7 @@ icom_rig_open(RIG *rig)
|
|||
rig_debug(RIG_DEBUG_ERR, "%s: Unable to determine USB echo status\n", __func__);
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
|
||||
retval = rig_get_func(rig, RIG_VFO_CURR, RIG_FUNC_SATMODE, &satmode);
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s: satmode=%d\n", __func__, satmode);
|
||||
|
@ -6524,6 +6526,7 @@ int icom_send_voice_mem(RIG *rig, vfo_t vfo, int ch)
|
|||
/*
|
||||
* icom_get_freq_range
|
||||
* Assumes rig!=NULL, rig->state.priv!=NULL
|
||||
* Always returns RIG_OK
|
||||
*/
|
||||
int icom_get_freq_range(RIG *rig)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue