diff options
author | Josh Blum <josh@joshknows.com> | 2010-05-04 09:32:38 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-05-04 09:32:38 +0000 |
commit | 8f21adbed40db490bec8ead6b8d50d2b3d1a4136 (patch) | |
tree | e664c69ee78a6409b20d5123bb535c52a24243bc /host/lib/usrp/usrp_e/usrp_e_impl.cpp | |
parent | d8c04c4b70f41b27acb33cd69ed88469d7c94482 (diff) | |
download | uhd-8f21adbed40db490bec8ead6b8d50d2b3d1a4136.tar.gz uhd-8f21adbed40db490bec8ead6b8d50d2b3d1a4136.tar.bz2 uhd-8f21adbed40db490bec8ead6b8d50d2b3d1a4136.zip |
created codec control for ad9862, wip
Diffstat (limited to 'host/lib/usrp/usrp_e/usrp_e_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp_e/usrp_e_impl.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp_e/usrp_e_impl.cpp b/host/lib/usrp/usrp_e/usrp_e_impl.cpp index 52bbcdd32..b6fed6a74 100644 --- a/host/lib/usrp/usrp_e/usrp_e_impl.cpp +++ b/host/lib/usrp/usrp_e/usrp_e_impl.cpp @@ -23,7 +23,6 @@ #include <boost/filesystem.hpp> #include <iostream> #include <fcntl.h> //open -#include "clock_ctrl.hpp" using namespace uhd; using namespace uhd::usrp; @@ -84,9 +83,12 @@ usrp_e_impl::usrp_e_impl(const std::string &node){ )); } - _iface = usrp_e_iface::make(_node_fd); + sleep(1); //FIXME sleep here until the kernel driver stops hanging - clock_ctrl::sptr my_clk_ctrl = clock_ctrl::make(_iface); + //setup various interfaces into hardware + _iface = usrp_e_iface::make(_node_fd); + _clock_ctrl = clock_ctrl::make(_iface); + _codec_ctrl = codec_ctrl::make(_iface); //initialize the mboard mboard_init(); |