aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-06-03 19:22:23 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:23 -0800
commit6460e07f91bc468e7c094785093426ee07e26bcb (patch)
tree649ac875f5c54c7a94ff8fee1b470d63f5a265d1 /host/lib
parent0f8718176993b3460b12720e639b030be9b86943 (diff)
downloaduhd-6460e07f91bc468e7c094785093426ee07e26bcb.tar.gz
uhd-6460e07f91bc468e7c094785093426ee07e26bcb.tar.bz2
uhd-6460e07f91bc468e7c094785093426ee07e26bcb.zip
rfnoc: noc_block_base: Pass args into block on construction
These args come from the framework, e.g., because the UHD session was launched with them.
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/rfnoc/noc_block_base.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/rfnoc/noc_block_base.cpp b/host/lib/rfnoc/noc_block_base.cpp
index 97aaeb002..f99d5aae7 100644
--- a/host/lib/rfnoc/noc_block_base.cpp
+++ b/host/lib/rfnoc/noc_block_base.cpp
@@ -25,6 +25,7 @@ noc_block_base::noc_block_base(make_args_ptr make_args)
, _num_output_ports(make_args->num_output_ports)
, _clock_iface(make_args->clk_iface)
, _mb_controller(std::move(make_args->mb_control))
+ , _block_args(make_args->args)
{
// First, create one tick_rate property for every port
_tick_rate_props.reserve(get_num_input_ports() + get_num_output_ports());