diff options
author | Josh Blum <josh@joshknows.com> | 2010-06-04 12:16:09 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-06-04 12:16:09 -0700 |
commit | f2b560d5f8d19bf6bbd86802e03f061ecede78ec (patch) | |
tree | 4e0d99411b2b1ebee38ef7bbe2fb26be87b39e05 /host/lib/usrp/usrp2/clock_ctrl.cpp | |
parent | dbc65d928362b983d8f6113319db87841a5b159d (diff) | |
download | uhd-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/clock_ctrl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/clock_ctrl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/usrp/usrp2/clock_ctrl.cpp b/host/lib/usrp/usrp2/clock_ctrl.cpp index 4c5207203..94920143d 100644 --- a/host/lib/usrp/usrp2/clock_ctrl.cpp +++ b/host/lib/usrp/usrp2/clock_ctrl.cpp @@ -25,9 +25,9 @@ using namespace uhd; /*! * A usrp2 clock control specific to the ad9510 ic. */ -class clock_ctrl_impl : public clock_ctrl{ +class usrp2_clock_ctrl_impl : public usrp2_clock_ctrl{ public: - clock_ctrl_impl(usrp2_iface::sptr iface){ + usrp2_clock_ctrl_impl(usrp2_iface::sptr iface){ _iface = iface; _ad9510_regs.cp_current_setting = ad9510_regs_t::CP_CURRENT_SETTING_3_0MA; @@ -68,7 +68,7 @@ public: } - ~clock_ctrl_impl(void){ + ~usrp2_clock_ctrl_impl(void){ /* private clock enables, must be set here */ this->enable_dac_clock(false); this->enable_adc_clock(false); @@ -158,6 +158,6 @@ private: /*********************************************************************** * Public make function for the ad9510 clock control **********************************************************************/ -clock_ctrl::sptr clock_ctrl::make(usrp2_iface::sptr iface){ - return sptr(new clock_ctrl_impl(iface)); +usrp2_clock_ctrl::sptr usrp2_clock_ctrl::make(usrp2_iface::sptr iface){ + return sptr(new usrp2_clock_ctrl_impl(iface)); } |