[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 2b3ec3f4bd7d7c80a16cf
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Michael B. <mdb...@us...> - 2021-09-11 04:33:08
|
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 2b3ec3f4bd7d7c80a16cfc5aa2bedf7340fd21a9 (commit)
via 004ddafb87da025ee958ac163de568818963a247 (commit)
from 6d3046e0122a349d0cb1823041c20e3bbbaa0215 (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 2b3ec3f4bd7d7c80a16cfc5aa2bedf7340fd21a9
Merge: 004ddafb 6d3046e0
Author: Mike Black W9MDB <mdb...@ya...>
Date: Fri Sep 10 23:31:08 2021 -0500
Merge branch 'master' of https://github.com/Hamlib/Hamlib
commit 004ddafb87da025ee958ac163de568818963a247
Author: Mike Black W9MDB <mdb...@ya...>
Date: Fri Sep 10 23:29:32 2021 -0500
Fix python build. For some reason casting tp vfo_t in the RIG_VFO_N macro broke the swig parsing
https://github.com/Hamlib/Hamlib/issues/786
diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h
index 352d503e..4ab36850 100644
--- a/include/hamlib/rig.h
+++ b/include/hamlib/rig.h
@@ -428,7 +428,7 @@ typedef unsigned int vfo_t;
/** \brief '' -- used in caps */
-#define RIG_VFO_N(n) ((vfo_t)(1u<<(n)))
+#define RIG_VFO_N(n) (1u<<(n))
/** \brief \c VFONone -- vfo unknown */
#define RIG_VFO_NONE 0
-----------------------------------------------------------------------
Summary of changes:
include/hamlib/rig.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Hamlib -- Ham radio control libraries
|