aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2022-03-09 10:15:05 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2022-03-11 08:59:39 -0600
commit708f1c2b35eddf86205059108193437863340d4f (patch)
treeec1bb6de7508393223b936c3fbf283ec51249fd9 /host/examples
parent910b797e180228acad19a23393c0ab5bbdc696fe (diff)
downloaduhd-708f1c2b35eddf86205059108193437863340d4f.tar.gz
uhd-708f1c2b35eddf86205059108193437863340d4f.tar.bz2
uhd-708f1c2b35eddf86205059108193437863340d4f.zip
rfnoc: Remove UHD3-API usages
- rfnoc_replay_samples_from_file still had UHD3-vestiges for selecting block port and ID - The documentation for stream_args_t also included block port and ID examples
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/rfnoc_replay_samples_from_file.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/host/examples/rfnoc_replay_samples_from_file.cpp b/host/examples/rfnoc_replay_samples_from_file.cpp
index 0b378631b..2c1e5cb71 100644
--- a/host/examples/rfnoc_replay_samples_from_file.cpp
+++ b/host/examples/rfnoc_replay_samples_from_file.cpp
@@ -147,10 +147,7 @@ int UHD_SAFE_MAIN(int argc, char* argv[])
uhd::tx_streamer::sptr tx_stream;
uhd::tx_metadata_t tx_md;
- streamer_args["block_id"] = replay_ctrl->get_block_id().to_string();
- streamer_args["block_port"] = std::to_string(replay_chan);
stream_args.args = streamer_args;
- stream_args.channels = {replay_chan};
tx_stream = graph->create_tx_streamer(stream_args.channels.size(), stream_args);
graph->connect(tx_stream, 0, replay_ctrl->get_block_id(), replay_chan);
graph->commit();