summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_simple_sink.cc
diff options
context:
space:
mode:
authorJosh Blum2010-06-30 10:12:02 -0700
committerJosh Blum2010-06-30 10:12:02 -0700
commit1e71bdae9956d64e06bdfbb0c87530619807e100 (patch)
tree02f94811940ba2028754c3613216ca1dc15957ba /gr-uhd/lib/uhd_simple_sink.cc
parent029b856c75b683fc9297fc3b15f4a81c1fc7db9e (diff)
downloadgnuradio-1e71bdae9956d64e06bdfbb0c87530619807e100.tar.gz
gnuradio-1e71bdae9956d64e06bdfbb0c87530619807e100.tar.bz2
gnuradio-1e71bdae9956d64e06bdfbb0c87530619807e100.zip
uhd: added calls to set time and clock config
Diffstat (limited to 'gr-uhd/lib/uhd_simple_sink.cc')
-rw-r--r--gr-uhd/lib/uhd_simple_sink.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/gr-uhd/lib/uhd_simple_sink.cc b/gr-uhd/lib/uhd_simple_sink.cc
index ccec0e29c..44f60a05f 100644
--- a/gr-uhd/lib/uhd_simple_sink.cc
+++ b/gr-uhd/lib/uhd_simple_sink.cc
@@ -91,6 +91,18 @@ public:
return _dev->get_tx_antennas();
}
+ void set_clock_config(const uhd::clock_config_t &clock_config){
+ return _dev->set_clock_config(clock_config);
+ }
+
+ void set_time_now(const uhd::time_spec_t &time_spec){
+ return _dev->set_time_now(time_spec);
+ }
+
+ void set_time_next_pps(const uhd::time_spec_t &time_spec){
+ return _dev->set_time_next_pps(time_spec);
+ }
+
uhd::usrp::simple_usrp::sptr get_device(void){
return _dev;
}