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.cpp | |
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.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_impl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp index 1dde8c054..ef7754c33 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.cpp +++ b/host/lib/usrp/usrp2/usrp2_impl.cpp @@ -147,6 +147,8 @@ usrp2_impl::usrp2_impl( //make a new interface for usrp2 stuff _iface = usrp2_iface::make(ctrl_transport); + _clock_ctrl = clock_ctrl::make(_iface); + _codec_ctrl = codec_ctrl::make(_iface); //load the allowed decim/interp rates //_USRP2_RATES = range(4, 128+1, 1) + range(130, 256+1, 2) + range(260, 512+1, 4) |