diff options
author | Josh Blum <josh@joshknows.com> | 2010-05-10 15:14:48 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-05-10 15:14:48 -0700 |
commit | bf7ef6aeb502839797894cac4d7518029a0d04c4 (patch) | |
tree | 5af7886da36b56cf80fb2fb80c254a964d453d1d /host/lib/usrp/usrp2/usrp2_impl.hpp | |
parent | 650e0d9b35eeca9cec3989159310f4d5e3d38836 (diff) | |
download | uhd-bf7ef6aeb502839797894cac4d7518029a0d04c4.tar.gz uhd-bf7ef6aeb502839797894cac4d7518029a0d04c4.tar.bz2 uhd-bf7ef6aeb502839797894cac4d7518029a0d04c4.zip |
Moved adc and dac control into codec control source file.
The codec control powers down the chips on destruction.
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.hpp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_impl.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.hpp b/host/lib/usrp/usrp2/usrp2_impl.hpp index 1c9387744..871050356 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.hpp +++ b/host/lib/usrp/usrp2/usrp2_impl.hpp @@ -19,7 +19,8 @@ #define INCLUDED_USRP2_IMPL_HPP #include "usrp2_iface.hpp" -#include "clock_control.hpp" +#include "clock_ctrl.hpp" +#include "codec_ctrl.hpp" #include <uhd/usrp/usrp2.hpp> #include <uhd/types/dict.hpp> #include <uhd/types/otw_type.hpp> @@ -40,7 +41,7 @@ */ uhd::usrp::dboard_iface::sptr make_usrp2_dboard_iface( usrp2_iface::sptr iface, - clock_control::sptr clk_ctrl + clock_ctrl::sptr clk_ctrl ); /*! @@ -114,7 +115,8 @@ private: void set(const wax::obj &, const wax::obj &); //interfaces - clock_control::sptr _clk_ctrl; + clock_ctrl::sptr _clock_ctrl; + codec_ctrl::sptr _codec_ctrl; usrp2_iface::sptr _iface; //the raw io interface (samples are in the usrp2 native format) |