diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-10-31 14:30:52 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-11-08 08:02:22 -0800 |
commit | 99c2730bc9db270560671f2d7d173768465ed51f (patch) | |
tree | bc4df495734a075ebe2f7917cf67dec6fb7d8177 /host/lib/usrp/e300/e300_remote_codec_ctrl.hpp | |
parent | 218f4b0b63927110df9dbbaa8353c346eee2d98a (diff) | |
download | uhd-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/e300/e300_remote_codec_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/e300/e300_remote_codec_ctrl.hpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp b/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp index 43723e0d5..9453a6b39 100644 --- a/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp +++ b/host/lib/usrp/e300/e300_remote_codec_ctrl.hpp @@ -27,8 +27,8 @@ class e300_remote_codec_ctrl : public uhd::usrp::ad9361_ctrl { public: struct transaction_t { - boost::uint32_t action; - boost::uint32_t which; + uint32_t action; + uint32_t which; union { double rate; double gain; @@ -36,34 +36,34 @@ public: double rssi; double temp; double bw; - boost::uint32_t use_dc_correction; - boost::uint32_t use_iq_correction; - boost::uint32_t use_agc; - boost::uint32_t agc_mode; - boost::uint64_t bits; + uint32_t use_dc_correction; + uint32_t use_iq_correction; + uint32_t use_agc; + uint32_t agc_mode; + uint64_t bits; }; //Actions - static const boost::uint32_t ACTION_SET_GAIN = 10; - static const boost::uint32_t ACTION_SET_CLOCK_RATE = 11; - static const boost::uint32_t ACTION_SET_ACTIVE_CHANS = 12; - static const boost::uint32_t ACTION_TUNE = 13; - static const boost::uint32_t ACTION_SET_LOOPBACK = 14; - static const boost::uint32_t ACTION_GET_RSSI = 15; - static const boost::uint32_t ACTION_GET_TEMPERATURE = 16; - static const boost::uint32_t ACTION_SET_DC_OFFSET_AUTO = 17; - static const boost::uint32_t ACTION_SET_IQ_BALANCE_AUTO = 18; - static const boost::uint32_t ACTION_SET_AGC = 19; - static const boost::uint32_t ACTION_SET_AGC_MODE = 20; - static const boost::uint32_t ACTION_SET_BW = 21; - static const boost::uint32_t ACTION_GET_FREQ = 22; + static const uint32_t ACTION_SET_GAIN = 10; + static const uint32_t ACTION_SET_CLOCK_RATE = 11; + static const uint32_t ACTION_SET_ACTIVE_CHANS = 12; + static const uint32_t ACTION_TUNE = 13; + static const uint32_t ACTION_SET_LOOPBACK = 14; + static const uint32_t ACTION_GET_RSSI = 15; + static const uint32_t ACTION_GET_TEMPERATURE = 16; + static const uint32_t ACTION_SET_DC_OFFSET_AUTO = 17; + static const uint32_t ACTION_SET_IQ_BALANCE_AUTO = 18; + static const uint32_t ACTION_SET_AGC = 19; + static const uint32_t ACTION_SET_AGC_MODE = 20; + static const uint32_t ACTION_SET_BW = 21; + static const uint32_t ACTION_GET_FREQ = 22; //Values for "which" - static const boost::uint32_t CHAIN_NONE = 0; - static const boost::uint32_t CHAIN_TX1 = 1; - static const boost::uint32_t CHAIN_TX2 = 2; - static const boost::uint32_t CHAIN_RX1 = 3; - static const boost::uint32_t CHAIN_RX2 = 4; + static const uint32_t CHAIN_NONE = 0; + static const uint32_t CHAIN_TX1 = 1; + static const uint32_t CHAIN_TX2 = 2; + static const uint32_t CHAIN_RX1 = 3; + static const uint32_t CHAIN_RX2 = 4; }; static sptr make(uhd::transport::zero_copy_if::sptr xport); |