mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-22 02:47:21 +00:00
Remove 500ms from icom/frame.c -- should not be needed
Reduce icom echo check to just 2 tries Improves power up sequencing by about 7 seconds https://github.com/Hamlib/Hamlib/issues/525
This commit is contained in:
parent
96e2cc7829
commit
76f3099aef
@ -320,8 +320,9 @@ int icom_transaction(RIG *rig, int cmd, int subcmd,
|
||||
{
|
||||
break;
|
||||
}
|
||||
rig_debug(RIG_DEBUG_WARN, "%s: timeout retry=%d\n", __func__, retry);
|
||||
|
||||
hl_usleep(500 * 1000); // pause a half second
|
||||
//hl_usleep(500 * 1000); // pause a half second -- don't think we need this
|
||||
}
|
||||
while (retry-- > 0);
|
||||
|
||||
@ -330,7 +331,7 @@ int icom_transaction(RIG *rig, int cmd, int subcmd,
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s: failed: %s\n", __func__, rigerror(retval));
|
||||
}
|
||||
|
||||
return retval;
|
||||
RETURNFUNC(retval);
|
||||
}
|
||||
|
||||
/* used in read_icom_frame as end of block */
|
||||
|
@ -704,7 +704,7 @@ int icom_get_usb_echo_off(RIG *rig)
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
|
||||
|
||||
// reduce the retry here so it's quicker
|
||||
rs->rigport.retry = 1;
|
||||
rs->rigport.retry = 0;
|
||||
// Check for echo on first
|
||||
priv->serial_USB_echo_off = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user