diff options
author | Josh Blum <josh@joshknows.com> | 2010-03-22 13:12:03 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-03-22 13:12:03 +0000 |
commit | a31761cb0c37b61f7243836d6dd8c40cbf49efc0 (patch) | |
tree | a316d9c025fe06bf372c7c5699577ba2985bc8ae /host/lib/usrp/usrp1e/dsp_impl.cpp | |
parent | 6ba5135c96d81d23eafa4f0740ebbf113d8c798f (diff) | |
download | uhd-a31761cb0c37b61f7243836d6dd8c40cbf49efc0.tar.gz uhd-a31761cb0c37b61f7243836d6dd8c40cbf49efc0.tar.bz2 uhd-a31761cb0c37b61f7243836d6dd8c40cbf49efc0.zip |
filled in more skeleton code, filled in dboard interface spi and i2c with ioctls, added file descriptor opening, and checking for usrp1 kernel header
Diffstat (limited to 'host/lib/usrp/usrp1e/dsp_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp1e/dsp_impl.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1e/dsp_impl.cpp b/host/lib/usrp/usrp1e/dsp_impl.cpp index b6076ef97..862b89184 100644 --- a/host/lib/usrp/usrp1e/dsp_impl.cpp +++ b/host/lib/usrp/usrp1e/dsp_impl.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // +#include <boost/bind.hpp> #include <uhd/utils.hpp> #include "usrp1e_impl.hpp" @@ -24,7 +25,10 @@ using namespace uhd::usrp; * RX DDC Initialization **********************************************************************/ void usrp1e_impl::rx_ddc_init(void){ - + _rx_ddc_proxy = wax_obj_proxy::make( + boost::bind(&usrp1e_impl::rx_ddc_get, this, _1, _2), + boost::bind(&usrp1e_impl::rx_ddc_set, this, _1, _2) + ); } /*********************************************************************** @@ -45,7 +49,10 @@ void usrp1e_impl::rx_ddc_set(const wax::obj &, const wax::obj &){ * TX DUC Initialization **********************************************************************/ void usrp1e_impl::tx_duc_init(void){ - + _tx_duc_proxy = wax_obj_proxy::make( + boost::bind(&usrp1e_impl::tx_duc_get, this, _1, _2), + boost::bind(&usrp1e_impl::tx_duc_set, this, _1, _2) + ); } /*********************************************************************** |