tests: Fix rfnoc_graph mock nodes stop-stream command

Thanks to Github user johnwstanford for pointing this out.
This commit is contained in:
Martin Braun 2021-11-11 10:29:29 +01:00 committed by Aaron Rossetto
parent d2762bd2b0
commit 1d7cba5c6c

View File

@ -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;