[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 8024ffb93731de1b658cc
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-13 18:42:57
|
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 8024ffb93731de1b658cc156e8ce158e0341efea (commit) from b5de94da2abcf2ba4edf4ced94f1531f6b416e13 (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 8024ffb93731de1b658cc156e8ce158e0341efea Author: Michael Black W9MDB <mdb...@ya...> Date: Wed Jan 13 12:42:03 2021 -0600 Change icom_get_usb_echo_off to return TIMEOUT when it occurs instead of RIG_OK https://github.com/Hamlib/Hamlib/issues/509 diff --git a/rigs/icom/icom.c b/rigs/icom/icom.c index f50429b7..d11f7087 100644 --- a/rigs/icom/icom.c +++ b/rigs/icom/icom.c @@ -715,6 +715,8 @@ int icom_get_usb_echo_off(RIG *rig) rig_debug(RIG_DEBUG_VERBOSE, "%s: ack_len=%d\n", __func__, ack_len); + if (retval == -RIG_ETIMEOUT) return retval; + if (retval == RIG_OK) { rig_debug(RIG_DEBUG_VERBOSE, "%s: USB echo on detected\n", diff --git a/rigs/icom/icom.h b/rigs/icom/icom.h index 413d2c98..7d28b6e6 100644 --- a/rigs/icom/icom.h +++ b/rigs/icom/icom.h @@ -30,7 +30,7 @@ #include <sys/time.h> #endif -#define BACKEND_VER "20210107" +#define BACKEND_VER "20210113" /* * defines used by comp_cal_str in rig.c ----------------------------------------------------------------------- Summary of changes: rigs/icom/icom.c | 2 ++ rigs/icom/icom.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |