aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-10-09 11:34:43 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2020-10-09 12:31:19 -0500
commit67651b9fffa6e6728a70348d0d174c3c0f802bfc (patch)
tree59f4247971a1b61d56c416a0283e3d01efc62d7d /host/include
parentb5fad9cf0bf1cd3e904017b0630c3c5be143b8e8 (diff)
downloaduhd-67651b9fffa6e6728a70348d0d174c3c0f802bfc.tar.gz
uhd-67651b9fffa6e6728a70348d0d174c3c0f802bfc.tar.bz2
uhd-67651b9fffa6e6728a70348d0d174c3c0f802bfc.zip
tests: mock_block: Allow mock blocks to carry MB controllers
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/rfnoc/mock_block.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/include/uhd/rfnoc/mock_block.hpp b/host/include/uhd/rfnoc/mock_block.hpp
index fef8815b7..a456d30a6 100644
--- a/host/include/uhd/rfnoc/mock_block.hpp
+++ b/host/include/uhd/rfnoc/mock_block.hpp
@@ -9,6 +9,7 @@
#include <uhd/config.hpp>
#include <uhd/property_tree.hpp>
#include <uhd/rfnoc/defaults.hpp>
+#include <uhd/rfnoc/mb_controller.hpp>
#include <uhd/rfnoc/noc_block_base.hpp>
#include <uhd/rfnoc/register_iface.hpp>
#include <uhd/types/time_spec.hpp>
@@ -184,6 +185,7 @@ UHD_API mock_block_container get_mock_block(const noc_id_t noc_id,
const uhd::device_addr_t& args = uhd::device_addr_t(),
const size_t mtu = 8000,
const device_type_t device_id = ANY_DEVICE,
- std::shared_ptr<mock_reg_iface_t> client_reg_iface = nullptr);
+ std::shared_ptr<mock_reg_iface_t> client_reg_iface = nullptr,
+ mb_controller::sptr mbc = nullptr);
}}; // namespace uhd::rfnoc