From ac35b51ea7e2f309625a25e41dd1bb9e1864a3f5 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 16 Feb 2010 17:34:47 -0800 Subject: Moved the usrp2 implementation files into a usrp2 dir within mboard. Filled in many of the properties for the mboard (including clock config). --- lib/usrp/mboard/usrp2.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'lib/usrp/mboard/usrp2.cpp') 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 #include #include -#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(_impl)->get(key, val); + return wax::cast(_impl)->get(key, val); } /*********************************************************************** * Set Properties **********************************************************************/ void usrp2::set(const wax::obj &key, const wax::obj &val){ - return wax::cast(_impl)->set(key, val); + return wax::cast(_impl)->set(key, val); } -- cgit v1.2.3