aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/nirio
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-04-17 16:50:51 -0700
committerMartin Braun <martin.braun@ettus.com>2018-04-18 10:11:06 -0700
commitb407469bb4b36b8551261ee1249063ef3d5a9029 (patch)
treee472ada0c593f38971aaa63976c0f13662e49267 /host/lib/transport/nirio
parent2f6253667eec6be60e27d43ced7a72e689838e94 (diff)
downloaduhd-b407469bb4b36b8551261ee1249063ef3d5a9029.tar.gz
uhd-b407469bb4b36b8551261ee1249063ef3d5a9029.tar.bz2
uhd-b407469bb4b36b8551261ee1249063ef3d5a9029.zip
niusrprio: Move a const from header to impl
This avoids having to redeclare the static const to avoid linker errors.
Diffstat (limited to 'host/lib/transport/nirio')
-rw-r--r--host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp b/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp
index f8a733a2b..7582b4734 100644
--- a/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp
+++ b/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp
@@ -8,6 +8,11 @@
#include <uhd/transport/nirio/rpc/usrprio_rpc_client.hpp>
#include <uhd/utils/platform.hpp>
+namespace {
+ constexpr int64_t DEFAULT_TIMEOUT_IN_MS = 5000;
+}
+
+
namespace uhd { namespace usrprio_rpc {
usrprio_rpc_client::usrprio_rpc_client(