kopia lustrzana https://github.com/Hamlib/Hamlib
Fix icom_get_raw_buf
https://github.com/Hamlib/Hamlib/issues/612#issuecomment-800404923pull/614/head
rodzic
5dfb3b8567
commit
0942553687
|
@ -7399,13 +7399,6 @@ int icom_get_raw_buf(RIG *rig, int cmd, int subcmd, int subcmdbuflen,
|
||||||
RETURNFUNC(-RIG_ETIMEOUT);
|
RETURNFUNC(-RIG_ETIMEOUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ackbuf[0] != ACK && ackbuf[0] != cmd)
|
|
||||||
{
|
|
||||||
rig_debug(RIG_DEBUG_ERR, "%s: ack NG (%#.2x), len=%d\n", __func__,
|
|
||||||
ackbuf[0], ack_len);
|
|
||||||
RETURNFUNC(-RIG_ERJCTED);
|
|
||||||
}
|
|
||||||
|
|
||||||
rig_debug(RIG_DEBUG_TRACE, "%s: %d\n", __func__, ack_len);
|
rig_debug(RIG_DEBUG_TRACE, "%s: %d\n", __func__, ack_len);
|
||||||
|
|
||||||
if (*reslen < ack_len || res == NULL)
|
if (*reslen < ack_len || res == NULL)
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BACKEND_VER "20210314"
|
#define BACKEND_VER "20210316"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* defines used by comp_cal_str in rig.c
|
* defines used by comp_cal_str in rig.c
|
||||||
|
|
Ładowanie…
Reference in New Issue