aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/config.h.in2
-rw-r--r--host/include/uhd/rfnoc/block_ctrl_base.hpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/host/include/config.h.in b/host/include/config.h.in
index b1958ae42..0e8982488 100644
--- a/host/include/config.h.in
+++ b/host/include/config.h.in
@@ -23,4 +23,6 @@
#cmakedefine UHD_VERSION_ABI ${UHD_VERSION_ABI}
#cmakedefine UHD_VERSION_PATCH ${UHD_VERSION_PATCH}
#cmakedefine ENABLE_USB
+#ifndef UHD_VERSION
#cmakedefine UHD_VERSION @UHD_VERSION_ADDED@
+#endif
diff --git a/host/include/uhd/rfnoc/block_ctrl_base.hpp b/host/include/uhd/rfnoc/block_ctrl_base.hpp
index 724e155bb..778ded043 100644
--- a/host/include/uhd/rfnoc/block_ctrl_base.hpp
+++ b/host/include/uhd/rfnoc/block_ctrl_base.hpp
@@ -304,7 +304,7 @@ public:
*
* TODO: Find better name (it disconnects, clears FC...)
*/
- void clear(const size_t port = 0/* reserved, currently not used */);
+ void clear();
/***********************************************************************
* Argument handling