aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/include/uhd/transport/nirio/nirio_fifo.ipp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/include/uhd/transport/nirio/nirio_fifo.ipp b/host/include/uhd/transport/nirio/nirio_fifo.ipp
index 80a0c2a89..48800f75b 100644
--- a/host/include/uhd/transport/nirio/nirio_fifo.ipp
+++ b/host/include/uhd/transport/nirio/nirio_fifo.ipp
@@ -110,6 +110,8 @@ nirio_status nirio_fifo<data_t>::start()
in.function = nirio_driver_iface::NIRIO_FUNC::FIFO;
in.subfunction = nirio_driver_iface::NIRIO_FIFO::START;
+ in.params.fifo.channel = _fifo_channel;
+
status = _riok_proxy_ptr->sync_operation(&in, sizeof(in), &out, sizeof(out));
if (nirio_status_not_fatal(status)) {
_acquired_pending = 0;
@@ -133,6 +135,8 @@ nirio_status nirio_fifo<data_t>::stop()
in.function = nirio_driver_iface::NIRIO_FUNC::FIFO;
in.subfunction = nirio_driver_iface::NIRIO_FIFO::STOP;
+ in.params.fifo.channel = _fifo_channel;
+
status = _riok_proxy_ptr->sync_operation(&in, sizeof(in), &out, sizeof(out));
return status;