From 6fd956def44f7315c47672e961e60a37fd5d1fca Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 16 Apr 2018 13:40:47 -0700 Subject: niusrprio: Refactor niusrprio_session, move out static consts Static const attributes were causing linker issues the way there were being used, but they were only used in niusrprio_session.cpp and thus could be factored out. --- host/include/uhd/transport/nirio/niusrprio_session.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'host/include') diff --git a/host/include/uhd/transport/nirio/niusrprio_session.h b/host/include/uhd/transport/nirio/niusrprio_session.h index 994d8c9d2..545b5082f 100644 --- a/host/include/uhd/transport/nirio/niusrprio_session.h +++ b/host/include/uhd/transport/nirio/niusrprio_session.h @@ -106,10 +106,6 @@ private: nirio_resource_manager _resource_manager; usrprio_rpc::usrprio_rpc_client _rpc_client; boost::recursive_mutex _session_mutex; - - static const uint32_t FPGA_READY_TIMEOUT_IN_MS = 1000; - static const uint32_t SESSION_LOCK_TIMEOUT_IN_MS = 3000; - static const uint32_t SESSION_LOCK_RETRY_INT_IN_MS = 500; }; }} -- cgit v1.2.3