aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2015-03-07 11:11:05 -0500
committerMartin Braun <martin.braun@ettus.com>2015-03-11 15:33:17 -0700
commitcc1bb014033b531e5cff1523eb3c3f925aa576f6 (patch)
treed0704fa22edc96908d5a136544e5276e9763df09
parent4fa1f7825f090cdb5b7460ba5396fb79ea55e4c6 (diff)
downloaduhd-cc1bb014033b531e5cff1523eb3c3f925aa576f6.tar.gz
uhd-cc1bb014033b531e5cff1523eb3c3f925aa576f6.tar.bz2
uhd-cc1bb014033b531e5cff1523eb3c3f925aa576f6.zip
nirio: have get_direction() and get_scalar_type() return their actual types.
-rw-r--r--host/include/uhd/transport/nirio/nirio_fifo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/transport/nirio/nirio_fifo.h b/host/include/uhd/transport/nirio/nirio_fifo.h
index c424275fc..5a2e29631 100644
--- a/host/include/uhd/transport/nirio/nirio_fifo.h
+++ b/host/include/uhd/transport/nirio/nirio_fifo.h
@@ -59,8 +59,8 @@ public:
inline const std::string& get_name() const { return _name; }
inline uint32_t get_channel() const { return _fifo_channel; }
- inline uint32_t get_direction() const { return _fifo_direction; }
- inline uint32_t get_scalar_type() const { return _datatype_info.scalar_type; }
+ inline fifo_direction_t get_direction() const { return _fifo_direction; }
+ inline nirio_scalar_type_t get_scalar_type() const { return _datatype_info.scalar_type; }
nirio_status start();