[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 309dc138c9ed6163516a6
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Michael B. <mdb...@us...> - 2021-03-09 19:21:29
|
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 309dc138c9ed6163516a66ea92065f5c512c3b56 (commit)
from dd117fed26c73740988a89fa2c4d4160dce503ec (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 309dc138c9ed6163516a66ea92065f5c512c3b56
Author: Michael Black W9MDB <mdb...@ya...>
Date: Tue Mar 9 13:20:32 2021 -0600
See if moving kenwood_transaction out of RETURNFUNC eliminiates duplicate kenwood_transaction calls
https://github.com/Hamlib/Hamlib/issues/595
diff --git a/rigs/kenwood/kenwood.c b/rigs/kenwood/kenwood.c
index d4f56599..798be67b 100644
--- a/rigs/kenwood/kenwood.c
+++ b/rigs/kenwood/kenwood.c
@@ -3752,8 +3752,9 @@ int kenwood_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
default: RETURNFUNC(-RIG_EINVAL);
}
+ int retval = kenwood_transaction(rig, ptt_cmd, NULL, 0);
- RETURNFUNC(kenwood_transaction(rig, ptt_cmd, NULL, 0));
+ RETURNFUNC(retval);
}
int kenwood_set_ptt_safe(RIG *rig, vfo_t vfo, ptt_t ptt)
diff --git a/rigs/kenwood/kenwood.h b/rigs/kenwood/kenwood.h
index 6ad2c7b6..90dee848 100644
--- a/rigs/kenwood/kenwood.h
+++ b/rigs/kenwood/kenwood.h
@@ -28,7 +28,7 @@
#include "token.h"
#include "misc.h"
-#define BACKEND_VER "20210302"
+#define BACKEND_VER "20210309"
#define EOM_KEN ';'
#define EOM_TH '\r'
-----------------------------------------------------------------------
Summary of changes:
rigs/kenwood/kenwood.c | 3 ++-
rigs/kenwood/kenwood.h | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
Hamlib -- Ham radio control libraries
|