diff options
author | Josh Blum <josh@joshknows.com> | 2010-06-04 21:13:53 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-06-04 21:13:53 +0000 |
commit | 9fa97e153d01985bc7bdf9db8a97d79a328a3e61 (patch) | |
tree | 68606b25eff9d2d88878bbd89c794fc86ac18fb5 /host/lib/usrp/usrp2/codec_ctrl.cpp | |
parent | 685cf432a373ee7556db507f7958f51e6ccf581a (diff) | |
parent | 4f0736ef7ce93d58f0768d99257b2624d5711490 (diff) | |
download | uhd-9fa97e153d01985bc7bdf9db8a97d79a328a3e61.tar.gz uhd-9fa97e153d01985bc7bdf9db8a97d79a328a3e61.tar.bz2 uhd-9fa97e153d01985bc7bdf9db8a97d79a328a3e61.zip |
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e
Diffstat (limited to 'host/lib/usrp/usrp2/codec_ctrl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/codec_ctrl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/usrp/usrp2/codec_ctrl.cpp b/host/lib/usrp/usrp2/codec_ctrl.cpp index d698216ba..abd840027 100644 --- a/host/lib/usrp/usrp2/codec_ctrl.cpp +++ b/host/lib/usrp/usrp2/codec_ctrl.cpp @@ -29,9 +29,9 @@ using namespace uhd; /*! * A usrp2 codec control specific to the ad9777 ic. */ -class codec_ctrl_impl : public codec_ctrl{ +class usrp2_codec_ctrl_impl : public usrp2_codec_ctrl{ public: - codec_ctrl_impl(usrp2_iface::sptr iface){ + usrp2_codec_ctrl_impl(usrp2_iface::sptr iface){ _iface = iface; //setup the ad9777 dac @@ -60,7 +60,7 @@ public: _iface->poke32(FR_MISC_CTRL_ADC, FRF_MISC_CTRL_ADC_ON); } - ~codec_ctrl_impl(void){ + ~usrp2_codec_ctrl_impl(void){ //power-down dac _ad9777_regs.power_down_mode = 1; this->send_ad9777_reg(0); @@ -86,6 +86,6 @@ private: /*********************************************************************** * Public make function for the usrp2 codec control **********************************************************************/ -codec_ctrl::sptr codec_ctrl::make(usrp2_iface::sptr iface){ - return sptr(new codec_ctrl_impl(iface)); +usrp2_codec_ctrl::sptr usrp2_codec_ctrl::make(usrp2_iface::sptr iface){ + return sptr(new usrp2_codec_ctrl_impl(iface)); } |