From e5855d2b26d65e02172ce4d238da5c816dbee288 Mon Sep 17 00:00:00 2001 From: michael-west Date: Thu, 29 Jan 2015 18:37:39 -0800 Subject: Fix for BUG #683: UHD: Need to factor out MAX287x code for UBX and CBX - Factored out MAX287x code into common header file - Added necessary code for MAX2871 synchronization. --- host/lib/usrp/dboard/db_sbx_common.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'host/lib/usrp/dboard/db_sbx_common.hpp') diff --git a/host/lib/usrp/dboard/db_sbx_common.hpp b/host/lib/usrp/dboard/db_sbx_common.hpp index 58f79a606..a08d22537 100644 --- a/host/lib/usrp/dboard/db_sbx_common.hpp +++ b/host/lib/usrp/dboard/db_sbx_common.hpp @@ -17,7 +17,8 @@ #include -#include "../common/adf435x_common.hpp" +#include "adf435x_common.hpp" +#include "max287x.hpp" // Common IO Pins #define LO_LPF_EN (1 << 15) @@ -223,6 +224,10 @@ protected: /*! This is the registered instance of the wrapper class, sbx_base. */ sbx_xcvr *self_base; + private: + void write_lo_regs(dboard_iface::unit_t unit, std::vector ®s); + max287x_iface::sptr _txlo; + max287x_iface::sptr _rxlo; }; /*! -- cgit v1.2.3