aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authormichael-west <michael.west@ettus.com>2020-11-03 06:23:37 -0800
committerAaron Rossetto <aaron.rossetto@ni.com>2020-11-05 12:07:35 -0600
commit69c72b6842bd69e08c2600305f612f4b057db057 (patch)
tree4408da07e5c73ec1c037dbba6247620e6d56605a /host
parente9d7100b1025c5c42e2729c37f6d59ee45718700 (diff)
downloaduhd-69c72b6842bd69e08c2600305f612f4b057db057.tar.gz
uhd-69c72b6842bd69e08c2600305f612f4b057db057.tar.bz2
uhd-69c72b6842bd69e08c2600305f612f4b057db057.zip
multi_usrp: Fix typos in streamer destruction callback
Signed-off-by: michael-west <michael.west@ettus.com>
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/multi_usrp_rfnoc.cpp8
1 files 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<rfnoc_rx_streamer>(
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<graph_edge_t> 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<graph_edge_t> 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)) {