diff options
-rw-r--r-- | host/include/uhd/usrp/multi_usrp.hpp | 4 | ||||
-rw-r--r-- | host/lib/usrp/multi_usrp.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp index 9e098d3e1..efb4b5eed 100644 --- a/host/include/uhd/usrp/multi_usrp.hpp +++ b/host/include/uhd/usrp/multi_usrp.hpp @@ -100,10 +100,10 @@ public: virtual ~multi_usrp(void) = 0; //! A wildcard motherboard index - static const size_t ALL_MBOARDS = size_t(~0); + static const size_t ALL_MBOARDS; //! A wildcard channel index - static const size_t ALL_CHANS = size_t(~0); + static const size_t ALL_CHANS; //! A wildcard gain element name static const std::string ALL_GAINS; diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp index 687f1c06d..4fb76cafa 100644 --- a/host/lib/usrp/multi_usrp.cpp +++ b/host/lib/usrp/multi_usrp.cpp @@ -32,6 +32,8 @@ using namespace uhd; using namespace uhd::usrp; +const size_t multi_usrp::ALL_MBOARDS = size_t(~0); +const size_t multi_usrp::ALL_CHANS = size_t(~0); const std::string multi_usrp::ALL_GAINS = ""; const std::string multi_usrp::ALL_LOS = "all"; |