aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/dboard_iface.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-04 12:16:09 -0700
committerJosh Blum <josh@joshknows.com>2010-06-04 12:16:09 -0700
commitf2b560d5f8d19bf6bbd86802e03f061ecede78ec (patch)
tree4e0d99411b2b1ebee38ef7bbe2fb26be87b39e05 /host/lib/usrp/usrp2/dboard_iface.cpp
parentdbc65d928362b983d8f6113319db87841a5b159d (diff)
downloaduhd-f2b560d5f8d19bf6bbd86802e03f061ecede78ec.tar.gz
uhd-f2b560d5f8d19bf6bbd86802e03f061ecede78ec.tar.bz2
uhd-f2b560d5f8d19bf6bbd86802e03f061ecede78ec.zip
Prepend usrp2 onto the helper classes in usrp2 impl to avoid symbol conflicts.
Diffstat (limited to 'host/lib/usrp/usrp2/dboard_iface.cpp')
-rw-r--r--host/lib/usrp/usrp2/dboard_iface.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/host/lib/usrp/usrp2/dboard_iface.cpp b/host/lib/usrp/usrp2/dboard_iface.cpp
index 2621d43b4..5933f8e40 100644
--- a/host/lib/usrp/usrp2/dboard_iface.cpp
+++ b/host/lib/usrp/usrp2/dboard_iface.cpp
@@ -33,7 +33,7 @@ using namespace boost::assign;
class usrp2_dboard_iface : public dboard_iface{
public:
- usrp2_dboard_iface(usrp2_iface::sptr iface, clock_ctrl::sptr clock_ctrl);
+ usrp2_dboard_iface(usrp2_iface::sptr iface, usrp2_clock_ctrl::sptr clock_ctrl);
~usrp2_dboard_iface(void);
void write_aux_dac(unit_t, int, float);
@@ -68,7 +68,7 @@ public:
private:
usrp2_iface::sptr _iface;
- clock_ctrl::sptr _clock_ctrl;
+ usrp2_clock_ctrl::sptr _clock_ctrl;
boost::uint32_t _ddr_shadow;
boost::uint32_t _gpio_shadow;
@@ -81,7 +81,7 @@ private:
**********************************************************************/
dboard_iface::sptr make_usrp2_dboard_iface(
usrp2_iface::sptr iface,
- clock_ctrl::sptr clock_ctrl
+ usrp2_clock_ctrl::sptr clock_ctrl
){
return dboard_iface::sptr(new usrp2_dboard_iface(iface, clock_ctrl));
}
@@ -89,7 +89,10 @@ dboard_iface::sptr make_usrp2_dboard_iface(
/***********************************************************************
* Structors
**********************************************************************/
-usrp2_dboard_iface::usrp2_dboard_iface(usrp2_iface::sptr iface, clock_ctrl::sptr clock_ctrl){
+usrp2_dboard_iface::usrp2_dboard_iface(
+ usrp2_iface::sptr iface,
+ usrp2_clock_ctrl::sptr clock_ctrl
+){
_iface = iface;
_clock_ctrl = clock_ctrl;
_ddr_shadow = 0;