diff options
author | michael-west <michael.west@ettus.com> | 2019-01-30 18:31:56 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish.chaudhari@ettus.com> | 2019-01-31 13:47:31 -0800 |
commit | 324c6d37da35f8e7bdb3b18d6d79d1d0e8252f41 (patch) | |
tree | db38fc8833386658cdbea44e43bebda10239f659 /host/lib/rfnoc/block_ctrl_base.cpp | |
parent | 13663f459d67fb3c0f289bbcbddc4534224381f5 (diff) | |
download | uhd-324c6d37da35f8e7bdb3b18d6d79d1d0e8252f41.tar.gz uhd-324c6d37da35f8e7bdb3b18d6d79d1d0e8252f41.tar.bz2 uhd-324c6d37da35f8e7bdb3b18d6d79d1d0e8252f41.zip |
fixup! RFNoC: More graph traversal fixes
Diffstat (limited to 'host/lib/rfnoc/block_ctrl_base.cpp')
-rw-r--r-- | host/lib/rfnoc/block_ctrl_base.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/rfnoc/block_ctrl_base.cpp b/host/lib/rfnoc/block_ctrl_base.cpp index 4137da9e3..ed8068b5b 100644 --- a/host/lib/rfnoc/block_ctrl_base.cpp +++ b/host/lib/rfnoc/block_ctrl_base.cpp @@ -125,8 +125,8 @@ block_ctrl_base::block_ctrl_base(const make_args_t& make_args) /*** Init I/O port definitions ******************************************/ _init_port_defs("in", _block_def->get_input_ports()); _init_port_defs("out", _block_def->get_output_ports()); - set_num_input_ports(_block_def->get_input_ports().size()); - set_num_output_ports(_block_def->get_output_ports().size()); + _num_input_ports = _block_def->get_input_ports().size(); + _num_output_ports = _block_def->get_output_ports().size(); // FIXME this warning always fails until the input buffer code above is fixed // if (_tree->list(_root_path / "ports/in").size() != n_valid_input_buffers) { // UHD_LOGGER_WARNING(unique_id()) << |