diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-13 12:42:23 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-13 12:42:23 -0700 |
commit | ad0d641b38dd79cc29b4ca7a3a02c02e35eb8f71 (patch) | |
tree | a4cc75cb4aced1114d4add0dc1ab4679523fc33d /host/lib/usrp/usrp2/mboard_impl.cpp | |
parent | ea7568588a3837bd14b3ce2737afa2b8dcacafd2 (diff) | |
download | uhd-ad0d641b38dd79cc29b4ca7a3a02c02e35eb8f71.tar.gz uhd-ad0d641b38dd79cc29b4ca7a3a02c02e35eb8f71.tar.bz2 uhd-ad0d641b38dd79cc29b4ca7a3a02c02e35eb8f71.zip |
Moved clock control into abstraction clock control class.
Diffstat (limited to 'host/lib/usrp/usrp2/mboard_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/mboard_impl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/mboard_impl.cpp b/host/lib/usrp/usrp2/mboard_impl.cpp index 2fa2e5211..faa34d0b3 100644 --- a/host/lib/usrp/usrp2/mboard_impl.cpp +++ b/host/lib/usrp/usrp2/mboard_impl.cpp @@ -33,6 +33,12 @@ void usrp2_impl::mboard_init(void){ boost::bind(&usrp2_impl::mboard_get, this, _1, _2), boost::bind(&usrp2_impl::mboard_set, this, _1, _2) ); + + _clock_control = clock_control::make_ad9510(this); +} + +clock_control::sptr usrp2_impl::get_clock_control(void){ + return _clock_control; } void usrp2_impl::init_clock_config(void){ |