aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/graph_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/utils/graph_utils.cpp')
-rw-r--r--host/lib/utils/graph_utils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/utils/graph_utils.cpp b/host/lib/utils/graph_utils.cpp
index 513f7b709..89df30e15 100644
--- a/host/lib/utils/graph_utils.cpp
+++ b/host/lib/utils/graph_utils.cpp
@@ -83,7 +83,7 @@ std::vector<graph_edge_t> get_block_chain(const rfnoc_graph::sptr graph,
}
-void connect_through_blocks(rfnoc_graph::sptr graph,
+std::vector<graph_edge_t> connect_through_blocks(rfnoc_graph::sptr graph,
const block_id_t src_blk,
const size_t src_port,
const block_id_t dst_blk,
@@ -159,6 +159,7 @@ void connect_through_blocks(rfnoc_graph::sptr graph,
UHD_LOG_TRACE("GRAPH_UTILS", err_msg);
throw uhd::runtime_error("[graph_utils] " + err_msg);
}
+ return block_chain;
}
}} // namespace uhd::rfnoc