aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-12-15 17:25:43 +0100
committerMartin Braun <martin.braun@ettus.com>2014-12-15 17:25:43 +0100
commitbb10b51c21ed7e116e4be5b11a256eefb60d7903 (patch)
tree079f019041f4c0af68192ce6e5585306d7ad67d6
parent84e1e3c9ced44eec4c93a474cef8c6f9b54acdd2 (diff)
downloaduhd-bb10b51c21ed7e116e4be5b11a256eefb60d7903.tar.gz
uhd-bb10b51c21ed7e116e4be5b11a256eefb60d7903.tar.bz2
uhd-bb10b51c21ed7e116e4be5b11a256eefb60d7903.zip
uhd: Renamed direction_t names to avoid namespace clashes
-rw-r--r--host/include/uhd/types/direction.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/host/include/uhd/types/direction.hpp b/host/include/uhd/types/direction.hpp
index 400e7e0d4..62fbde3f0 100644
--- a/host/include/uhd/types/direction.hpp
+++ b/host/include/uhd/types/direction.hpp
@@ -20,7 +20,14 @@
namespace uhd {
- enum direction_t { RX, TX };
+ enum direction_t {
+ //! Receive
+ RX_DIRECTION,
+ //! Transmit
+ TX_DIRECTION,
+ //! Duplex
+ DX_DIRECTION
+ };
} //namespace uhd