diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-06-03 19:22:23 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:23 -0800 |
commit | 6460e07f91bc468e7c094785093426ee07e26bcb (patch) | |
tree | 649ac875f5c54c7a94ff8fee1b470d63f5a265d1 /host/lib | |
parent | 0f8718176993b3460b12720e639b030be9b86943 (diff) | |
download | uhd-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.cpp | 1 |
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()); |