aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_impl.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-07-24 09:33:30 -0700
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-08-10 10:16:36 -0700
commit016136f548220ad7bd5c34b8e25fc740a68aeb08 (patch)
tree36fd140ac4eac776af75e59c577f8694dfeb9260 /host/lib/usrp/x300/x300_impl.hpp
parent2129e9d20e5009f0c97b5935740d5db906956387 (diff)
downloaduhd-016136f548220ad7bd5c34b8e25fc740a68aeb08.tar.gz
uhd-016136f548220ad7bd5c34b8e25fc740a68aeb08.tar.bz2
uhd-016136f548220ad7bd5c34b8e25fc740a68aeb08.zip
x300: Use constrained_args
x300_impl will now use a constrained_device_args_t-derived object to parse device args. No API or functional changes.
Diffstat (limited to 'host/lib/usrp/x300/x300_impl.hpp')
-rw-r--r--host/lib/usrp/x300/x300_impl.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/x300/x300_impl.hpp b/host/lib/usrp/x300/x300_impl.hpp
index d339c7bd0..2e0bebded 100644
--- a/host/lib/usrp/x300/x300_impl.hpp
+++ b/host/lib/usrp/x300/x300_impl.hpp
@@ -13,6 +13,7 @@
#include "x300_fw_common.h"
#include "x300_regs.hpp"
#include "x300_defaults.hpp"
+#include "x300_device_args.hpp"
#include "../device3/device3_impl.hpp"
#include <uhd/property_tree.hpp>
@@ -95,6 +96,8 @@ private:
//vector of member objects per motherboard
struct mboard_members_t
{
+ uhd::usrp::x300::x300_device_args_t args;
+
bool initialization_done;
uhd::task::sptr claimer_task;
std::string xport_path;