From 69c72b6842bd69e08c2600305f612f4b057db057 Mon Sep 17 00:00:00 2001 From: michael-west Date: Tue, 3 Nov 2020 06:23:37 -0800 Subject: multi_usrp: Fix typos in streamer destruction callback Signed-off-by: michael-west --- host/lib/usrp/multi_usrp_rfnoc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/host/lib/usrp/multi_usrp_rfnoc.cpp b/host/lib/usrp/multi_usrp_rfnoc.cpp index 92e586959..71aca0856 100644 --- a/host/lib/usrp/multi_usrp_rfnoc.cpp +++ b/host/lib/usrp/multi_usrp_rfnoc.cpp @@ -291,9 +291,9 @@ public: auto rx_streamer = std::make_shared( args.channels.size(), args, [=](const std::string& id) { if (auto graph = graph_ref.lock()) { - _graph->disconnect(id); + graph->disconnect(id); for (auto edge : edges) { - _graph->disconnect(edge.src_blockid, + graph->disconnect(edge.src_blockid, edge.src_port, edge.dst_blockid, edge.dst_port); @@ -2471,7 +2471,7 @@ private: std::vector edges; for (auto chan : chans) { UHD_LOG_TRACE( - "MULTI_USRP", std::string("Connecting RX chain for channel ") + chan); + "MULTI_USRP", std::string("Connecting RX chain for channel ") + std::to_string(chan)); auto chain = _rx_chans.at(chan); for (auto edge : chain.edge_list) { if (block_id_t(edge.dst_blockid).match(NODE_ID_SEP)) { @@ -2492,7 +2492,7 @@ private: std::vector edges; for (auto chan : chans) { UHD_LOG_TRACE( - "MULTI_USRP", std::string("Connecting TX chain for channel ") + chan); + "MULTI_USRP", std::string("Connecting TX chain for channel ") + std::to_string(chan)); auto chain = _tx_chans.at(chan); for (auto edge : chain.edge_list) { if (block_id_t(edge.src_blockid).match(NODE_ID_SEP)) { -- cgit v1.2.3