aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common/adf4001_ctrl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/common/adf4001_ctrl.hpp')
-rw-r--r--host/lib/usrp/common/adf4001_ctrl.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/host/lib/usrp/common/adf4001_ctrl.hpp b/host/lib/usrp/common/adf4001_ctrl.hpp
index e801ae0c4..c6813f43c 100644
--- a/host/lib/usrp/common/adf4001_ctrl.hpp
+++ b/host/lib/usrp/common/adf4001_ctrl.hpp
@@ -25,7 +25,7 @@
#include "spi_core_3000.hpp"
#include <uhd/types/serial.hpp>
-#include <boost/cstdint.hpp>
+#include <stdint.h>
#include <boost/thread/thread.hpp>
namespace uhd { namespace usrp {
@@ -34,14 +34,14 @@ class adf4001_regs_t {
public:
/* Function prototypes */
- boost::uint32_t get_reg(boost::uint8_t addr);
+ uint32_t get_reg(uint8_t addr);
adf4001_regs_t(void);
/* Register values / addresses */
- boost::uint16_t ref_counter; //14 bits
- boost::uint16_t n; //13 bits
- boost::uint8_t charge_pump_current_1; //3 bits
- boost::uint8_t charge_pump_current_2; //3 bits
+ uint16_t ref_counter; //14 bits
+ uint16_t n; //13 bits
+ uint8_t charge_pump_current_1; //3 bits
+ uint8_t charge_pump_current_2; //3 bits
enum anti_backlash_width_t {
ANTI_BACKLASH_WIDTH_2_9NS = 0,
@@ -133,7 +133,7 @@ private:
adf4001_regs_t adf4001_regs;
void program_regs(void);
- void write_reg(boost::uint8_t addr);
+ void write_reg(uint8_t addr);
};
}}