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/source_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/source_block_ctrl_base.cpp')
-rw-r--r-- | host/lib/rfnoc/source_block_ctrl_base.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/rfnoc/source_block_ctrl_base.cpp b/host/lib/rfnoc/source_block_ctrl_base.cpp index c3c6faf1f..6c41fae14 100644 --- a/host/lib/rfnoc/source_block_ctrl_base.cpp +++ b/host/lib/rfnoc/source_block_ctrl_base.cpp @@ -31,10 +31,10 @@ void source_block_ctrl_base::issue_stream_cmd( for (const node_ctrl_base::node_map_pair_t upstream_node : _upstream_nodes) { // FIXME: Need proper mapping from input port to output port // The code below assumes the input port and output port are the same - // if the number of upstream and downstream connections are the same. + // if the number of upstream and downstream ports are the same. // The stream command is limited to only that port to prevent issuing // it on the wrong block and port. - if (get_num_input_ports() == get_num_output_ports() + if (_num_input_ports == _num_output_ports and upstream_node.first != chan) { continue; } |