From 20b71a5fd76f1e183cc33f7f59b70beb99ca7e8e Mon Sep 17 00:00:00 2001 From: michael-west Date: Tue, 18 Dec 2018 17:35:46 -0800 Subject: RFNoC: Fix graph traversal - Allows different TX sample rates on separate channels - Prevents stream commands from being issued on wrong ports - Prevents some receive timeout errors --- host/lib/rfnoc/ddc_block_ctrl_impl.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'host/lib/rfnoc/ddc_block_ctrl_impl.cpp') diff --git a/host/lib/rfnoc/ddc_block_ctrl_impl.cpp b/host/lib/rfnoc/ddc_block_ctrl_impl.cpp index b70ae8959..7ea81e255 100644 --- a/host/lib/rfnoc/ddc_block_ctrl_impl.cpp +++ b/host/lib/rfnoc/ddc_block_ctrl_impl.cpp @@ -186,14 +186,7 @@ public: stream_cmd.num_samps *= decimation; } - source_node_ctrl::sptr this_upstream_block_ctrl = - boost::dynamic_pointer_cast(list_upstream_nodes().at(chan).lock()); - if (this_upstream_block_ctrl) { - this_upstream_block_ctrl->issue_stream_cmd( - stream_cmd, - get_upstream_port(chan) - ); - } + source_block_ctrl_base::issue_stream_cmd(stream_cmd, chan); } private: -- cgit v1.2.3