aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/n230/n230_frontend_ctrl.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-10-31 14:30:52 -0700
committerMartin Braun <martin.braun@ettus.com>2016-11-08 08:02:22 -0800
commit99c2730bc9db270560671f2d7d173768465ed51f (patch)
treebc4df495734a075ebe2f7917cf67dec6fb7d8177 /host/lib/usrp/n230/n230_frontend_ctrl.cpp
parent218f4b0b63927110df9dbbaa8353c346eee2d98a (diff)
downloaduhd-99c2730bc9db270560671f2d7d173768465ed51f.tar.gz
uhd-99c2730bc9db270560671f2d7d173768465ed51f.tar.bz2
uhd-99c2730bc9db270560671f2d7d173768465ed51f.zip
Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width types)
- Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
Diffstat (limited to 'host/lib/usrp/n230/n230_frontend_ctrl.cpp')
-rw-r--r--host/lib/usrp/n230/n230_frontend_ctrl.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/host/lib/usrp/n230/n230_frontend_ctrl.cpp b/host/lib/usrp/n230/n230_frontend_ctrl.cpp
index e0820d9b2..3d81721ec 100644
--- a/host/lib/usrp/n230/n230_frontend_ctrl.cpp
+++ b/host/lib/usrp/n230/n230_frontend_ctrl.cpp
@@ -27,29 +27,29 @@
namespace uhd { namespace usrp { namespace n230 {
/* ATR Control Bits */
-static const boost::uint32_t TX_ENABLE = (1 << 7);
-static const boost::uint32_t SFDX_RX = (1 << 6);
-static const boost::uint32_t SFDX_TX = (1 << 5);
-static const boost::uint32_t SRX_RX = (1 << 4);
-static const boost::uint32_t SRX_TX = (1 << 3);
-static const boost::uint32_t LED_RX = (1 << 2);
-static const boost::uint32_t LED_TXRX_RX = (1 << 1);
-static const boost::uint32_t LED_TXRX_TX = (1 << 0);
+static const uint32_t TX_ENABLE = (1 << 7);
+static const uint32_t SFDX_RX = (1 << 6);
+static const uint32_t SFDX_TX = (1 << 5);
+static const uint32_t SRX_RX = (1 << 4);
+static const uint32_t SRX_TX = (1 << 3);
+static const uint32_t LED_RX = (1 << 2);
+static const uint32_t LED_TXRX_RX = (1 << 1);
+static const uint32_t LED_TXRX_TX = (1 << 0);
/* ATR State Definitions. */
-static const boost::uint32_t STATE_OFF = 0x00;
-static const boost::uint32_t STATE_RX_RX2 = (SFDX_RX
+static const uint32_t STATE_OFF = 0x00;
+static const uint32_t STATE_RX_RX2 = (SFDX_RX
| SFDX_TX
| LED_RX);
-static const boost::uint32_t STATE_RX_TXRX = (SRX_RX
+static const uint32_t STATE_RX_TXRX = (SRX_RX
| SRX_TX
| LED_TXRX_RX);
-static const boost::uint32_t STATE_FDX_TXRX = (TX_ENABLE
+static const uint32_t STATE_FDX_TXRX = (TX_ENABLE
| SFDX_RX
| SFDX_TX
| LED_TXRX_TX
| LED_RX);
-static const boost::uint32_t STATE_TX_TXRX = (TX_ENABLE
+static const uint32_t STATE_TX_TXRX = (TX_ENABLE
| SFDX_RX
| SFDX_TX
| LED_TXRX_TX);