summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_simple_source.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/lib/uhd_simple_source.cc')
-rw-r--r--gr-uhd/lib/uhd_simple_source.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-uhd/lib/uhd_simple_source.cc b/gr-uhd/lib/uhd_simple_source.cc
index c680aa313..c734e9244 100644
--- a/gr-uhd/lib/uhd_simple_source.cc
+++ b/gr-uhd/lib/uhd_simple_source.cc
@@ -96,6 +96,10 @@ public:
return _dev->set_clock_config(clock_config);
}
+ uhd::time_spec_t get_time_now(void){
+ return _dev->get_time_now();
+ }
+
void set_time_now(const uhd::time_spec_t &time_spec){
return _dev->set_time_now(time_spec);
}