aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1e/mboard_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-03-22 13:12:03 +0000
committerJosh Blum <josh@joshknows.com>2010-03-22 13:12:03 +0000
commita31761cb0c37b61f7243836d6dd8c40cbf49efc0 (patch)
treea316d9c025fe06bf372c7c5699577ba2985bc8ae /host/lib/usrp/usrp1e/mboard_impl.cpp
parent6ba5135c96d81d23eafa4f0740ebbf113d8c798f (diff)
downloaduhd-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/mboard_impl.cpp')
-rw-r--r--host/lib/usrp/usrp1e/mboard_impl.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp1e/mboard_impl.cpp b/host/lib/usrp/usrp1e/mboard_impl.cpp
index c79ed1820..b480f7616 100644
--- a/host/lib/usrp/usrp1e/mboard_impl.cpp
+++ b/host/lib/usrp/usrp1e/mboard_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;
* Mboard Initialization
**********************************************************************/
void usrp1e_impl::mboard_init(void){
-
+ _mboard_proxy = wax_obj_proxy::make(
+ boost::bind(&usrp1e_impl::mboard_get, this, _1, _2),
+ boost::bind(&usrp1e_impl::mboard_set, this, _1, _2)
+ );
}
/***********************************************************************