From 3df3b6cc62911f1a87d2c7ff0775e7c2644900d5 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 23 Jan 2018 18:27:11 -0800 Subject: mpmd: Factor find and prop tree init code out of mpmd_impl.cpp No functional changes. --- host/lib/usrp/mpmd/mpmd_impl.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'host/lib/usrp/mpmd/mpmd_impl.hpp') diff --git a/host/lib/usrp/mpmd/mpmd_impl.hpp b/host/lib/usrp/mpmd/mpmd_impl.hpp index c935a8b8e..291ee7fdd 100644 --- a/host/lib/usrp/mpmd/mpmd_impl.hpp +++ b/host/lib/usrp/mpmd/mpmd_impl.hpp @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -257,6 +258,19 @@ public: */ size_t identify_mboard_by_xbar_addr(const size_t xbar_addr) const; + /*! Initialize property tree for a single device. + * + * \param tree Property tree reference (to the whole tree) + * \param mb_path Subtree path for this device + * \param mb Reference to the actual device + */ + static void init_property_tree( + uhd::property_tree::sptr tree, + fs_path mb_path, + mpmd_mboard_impl *mb + ); + + /************************************************************************* * Private attributes ************************************************************************/ -- cgit v1.2.3