diff options
author | Josh Blum <josh@joshknows.com> | 2010-02-16 17:34:47 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-02-16 17:34:47 -0800 |
commit | ac35b51ea7e2f309625a25e41dd1bb9e1864a3f5 (patch) | |
tree | 2ed0676e499f958469ce9796a5c5a99ca75ec9ba /lib/usrp/mboard/usrp2.cpp | |
parent | b942e603e96cbe9ddcaca9ee36c192910d526cfd (diff) | |
download | uhd-ac35b51ea7e2f309625a25e41dd1bb9e1864a3f5.tar.gz uhd-ac35b51ea7e2f309625a25e41dd1bb9e1864a3f5.tar.bz2 uhd-ac35b51ea7e2f309625a25e41dd1bb9e1864a3f5.zip |
Moved the usrp2 implementation files into a usrp2 dir within mboard.
Filled in many of the properties for the mboard (including clock config).
Diffstat (limited to 'lib/usrp/mboard/usrp2.cpp')
-rw-r--r-- | lib/usrp/mboard/usrp2.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/usrp/mboard/usrp2.cpp b/lib/usrp/mboard/usrp2.cpp index 79b9429c8..92f4daa49 100644 --- a/lib/usrp/mboard/usrp2.cpp +++ b/lib/usrp/mboard/usrp2.cpp @@ -22,8 +22,7 @@ #include <boost/format.hpp> #include <boost/thread.hpp> #include <netinet/in.h> -#include "usrp2_impl.hpp" -//#include "usrp2_dboard_interface.hpp" +#include "usrp2/impl_base.hpp" using namespace uhd::usrp::mboard; @@ -93,8 +92,8 @@ usrp2::usrp2(const device_addr_t &device_addr){ ); //create the usrp2 implementation guts - _impl = usrp2_impl::sptr( - new usrp2_impl(ctrl_transport, data_transport) + _impl = impl_base::sptr( + new impl_base(ctrl_transport, data_transport) ); } @@ -106,12 +105,12 @@ usrp2::~usrp2(void){ * Get Properties **********************************************************************/ void usrp2::get(const wax::obj &key, wax::obj &val){ - return wax::cast<usrp2_impl::sptr>(_impl)->get(key, val); + return wax::cast<impl_base::sptr>(_impl)->get(key, val); } /*********************************************************************** * Set Properties **********************************************************************/ void usrp2::set(const wax::obj &key, const wax::obj &val){ - return wax::cast<usrp2_impl::sptr>(_impl)->set(key, val); + return wax::cast<impl_base::sptr>(_impl)->set(key, val); } |