kopia lustrzana https://github.com/Hamlib/Hamlib
astyle icom.c
rodzic
f14c241f43
commit
b3a61cf00e
|
@ -2336,10 +2336,12 @@ int icom_set_mode_with_data(RIG *rig, vfo_t vfo, rmode_t mode,
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// do we really need/want to skip if width == twidth?
|
||||
if ((width == RIG_PASSBAND_NOCHANGE) || (width == twidth))
|
||||
{
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: width not changing..keeping filter selection\n", __func__);
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: width not changing..keeping filter selection\n",
|
||||
__func__);
|
||||
RETURNFUNC(RIG_OK);
|
||||
}
|
||||
|
||||
|
@ -8802,11 +8804,14 @@ morse_retry:
|
|||
{
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: ack NG (%#.2x), len=%d\n", __func__,
|
||||
ackbuf[0], ack_len);
|
||||
if (len == 1 && --retry > 0) {
|
||||
|
||||
if (len == 1 && --retry > 0)
|
||||
{
|
||||
// 50 retries should be around 200ms --plenty of time to clear out some characters
|
||||
hl_usleep(10 * 1000);
|
||||
goto morse_retry;
|
||||
}
|
||||
|
||||
RETURNFUNC(-RIG_ERJCTED);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue