[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. ee6f682963a238b62a7c1
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Michael B. <mdb...@us...> - 2021-03-12 18:26:52
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hamlib -- Ham radio control libraries".
The branch, master has been updated
via ee6f682963a238b62a7c189e79aad87c90fef877 (commit)
from 20e41b59ec89fddf40e391f0c2276041e226096f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ee6f682963a238b62a7c189e79aad87c90fef877
Author: Michael Black W9MDB <mdb...@ya...>
Date: Fri Mar 12 12:26:10 2021 -0600
Remove unneed NAK check on wrong location -- NAK check already being done
https://www.dropbox.com/s/q0i90h7ee1w2tnf/bin.zip?dl=0
diff --git a/rigs/icom/frame.c b/rigs/icom/frame.c
index 2d1664a9..af49e19a 100644
--- a/rigs/icom/frame.c
+++ b/rigs/icom/frame.c
@@ -281,7 +281,6 @@ int icom_one_transaction(RIG *rig, int cmd, int subcmd,
if (frm_len < ACKFRMLEN) { RETURNFUNC(-RIG_EPROTO); }
rig_debug(RIG_DEBUG_TRACE, "%s: frm_len=%d, frm_len-1=%02x, frm_len-2=%02x\n", __func__, frm_len, buf[frm_len-1], buf[frm_len-2]);
- if (NAK == buf[frm_len - 2]) { RETURNFUNC(-RIG_ERJCTED); }
// has to be one of these two now or frame is corrupt
if (FI != buf[frm_len - 1] && ACK != buf[frm_len - 1]) { RETURNFUNC(-RIG_BUSBUSY); }
-----------------------------------------------------------------------
Summary of changes:
rigs/icom/frame.c | 1 -
1 file changed, 1 deletion(-)
hooks/post-receive
--
Hamlib -- Ham radio control libraries
|