summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/gr_uhd_usrp_source.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/lib/gr_uhd_usrp_source.cc')
-rw-r--r--gr-uhd/lib/gr_uhd_usrp_source.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/gr-uhd/lib/gr_uhd_usrp_source.cc b/gr-uhd/lib/gr_uhd_usrp_source.cc
index 17877d04c..6c8e7f40f 100644
--- a/gr-uhd/lib/gr_uhd_usrp_source.cc
+++ b/gr-uhd/lib/gr_uhd_usrp_source.cc
@@ -109,6 +109,14 @@ public:
return _dev->set_clock_config(clock_config, mboard);
}
+ double get_clock_rate(size_t mboard){
+ return _dev->get_master_clock_rate(mboard);
+ }
+
+ void set_clock_rate(double rate, size_t mboard){
+ return _dev->set_master_clock_rate(rate, mboard);
+ }
+
uhd::time_spec_t get_time_now(void){
return _dev->get_time_now();
}