19 #ifndef INCLUDED_UHD_TRANSPORT_NIRIO_NIRIO_QUIRKS_H
20 #define INCLUDED_UHD_TRANSPORT_NIRIO_NIRIO_QUIRKS_H
29 #define UHD_NIRIO_RX_FIFO_XFER_CHECK_EN 0
31 namespace uhd {
namespace niusrprio {
39 for (
size_t i = 0; i <
sizeof(tx_stream_indices)/
sizeof(*tx_stream_indices); i++) {
40 _tx_stream_fifo_indices.insert(tx_stream_indices[i]);
45 if (_tx_stream_fifo_indices.find(index) != _tx_stream_fifo_indices.end()) {
46 if (_tx_stream_count == 0) {
47 UHD_LOG <<
"NI-RIO RX FIFO Transfer Check Quirk Enabled.";
54 if (_tx_stream_fifo_indices.find(index) != _tx_stream_fifo_indices.end()) {
56 if (_tx_stream_count == 0) {
57 UHD_LOG <<
"NI-RIO RX FIFO Transfer Check Quirk Disabled.";
69 return _tx_stream_count > 0;
73 std::set<uint32_t> _tx_stream_fifo_indices;
74 size_t _tx_stream_count;