aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-04 12:32:06 -0700
committerJosh Blum <josh@joshknows.com>2010-06-04 12:32:06 -0700
commit4f0736ef7ce93d58f0768d99257b2624d5711490 (patch)
tree7005a25929aa0e6ef27825087a88f1eaa27976d3 /host/lib/usrp/usrp2/usrp2_impl.hpp
parent89541d92664b98d8763492d4585eb2528df9e1f3 (diff)
downloaduhd-4f0736ef7ce93d58f0768d99257b2624d5711490.tar.gz
uhd-4f0736ef7ce93d58f0768d99257b2624d5711490.tar.bz2
uhd-4f0736ef7ce93d58f0768d99257b2624d5711490.zip
move get clock rate into clock control
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.hpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.hpp b/host/lib/usrp/usrp2/usrp2_impl.hpp
index 90306a85f..6ad151a0a 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.hpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.hpp
@@ -124,8 +124,8 @@ public:
);
private:
- double get_master_clock_freq(void){
- return _iface->get_master_clock_freq();
+ inline double get_master_clock_freq(void){
+ return _clock_ctrl->get_master_clock_rate();
}
//device properties interface