diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2014-04-08 10:31:57 -0700 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2014-04-10 12:57:19 -0700 |
commit | 6672185fbc40956e8e5e9e044da9294c9f04dbb5 (patch) | |
tree | 388f6db04cd63f4d0185a219c10db8ae8bfa89ee | |
parent | fa7e953cd5da84ea10488829b7f043370dfb0e63 (diff) | |
download | uhd-6672185fbc40956e8e5e9e044da9294c9f04dbb5.tar.gz uhd-6672185fbc40956e8e5e9e044da9294c9f04dbb5.tar.bz2 uhd-6672185fbc40956e8e5e9e044da9294c9f04dbb5.zip |
nirio: Added fifo channel to start and stop RIO syncop params.
-rw-r--r-- | host/include/uhd/transport/nirio/nirio_fifo.ipp | 4 |
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; |