aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-11-11 10:29:29 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2021-11-12 11:56:34 -0800
commit1d7cba5c6ce0cfa7545053fe213e2f1a268ae5bc (patch)
tree339096d9a3ba363038cab6d44ba8af7629b13898
parentd2762bd2b028b357232359cb73511d897b7a2d9a (diff)
downloaduhd-1d7cba5c6ce0cfa7545053fe213e2f1a268ae5bc.tar.gz
uhd-1d7cba5c6ce0cfa7545053fe213e2f1a268ae5bc.tar.bz2
uhd-1d7cba5c6ce0cfa7545053fe213e2f1a268ae5bc.zip
tests: Fix rfnoc_graph mock nodes stop-stream command
Thanks to Github user johnwstanford for pointing this out.
-rw-r--r--host/tests/rfnoc_graph_mock_nodes.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/tests/rfnoc_graph_mock_nodes.hpp b/host/tests/rfnoc_graph_mock_nodes.hpp
index 688886538..0cde78cdc 100644
--- a/host/tests/rfnoc_graph_mock_nodes.hpp
+++ b/host/tests/rfnoc_graph_mock_nodes.hpp
@@ -97,7 +97,7 @@ public:
if (stream_mode == uhd::stream_cmd_t::STREAM_MODE_START_CONTINUOUS) {
UHD_LOG_INFO(get_unique_id(), "Starting Stream!");
} else if (stream_mode
- == uhd::stream_cmd_t::STREAM_MODE_START_CONTINUOUS) {
+ == uhd::stream_cmd_t::STREAM_MODE_STOP_CONTINUOUS) {
UHD_LOG_INFO(get_unique_id(), "Stopping Stream!");
} else {
this->last_num_samps = stream_cmd_action->stream_cmd.num_samps;