summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_simple_sink.cc
diff options
context:
space:
mode:
authorJosh Blum2010-03-16 19:43:08 -0700
committerJosh Blum2010-03-16 19:43:08 -0700
commitb5c1edfd488ccdd8a2c6ff5a2efb3de35a048d67 (patch)
treef5cbdb36c04471085855e8733bb1297eb6d77c0c /gr-uhd/lib/uhd_simple_sink.cc
parentd43d40813c1a8343a86abb231876a8b7c0e9f806 (diff)
downloadgnuradio-b5c1edfd488ccdd8a2c6ff5a2efb3de35a048d67.tar.gz
gnuradio-b5c1edfd488ccdd8a2c6ff5a2efb3de35a048d67.tar.bz2
gnuradio-b5c1edfd488ccdd8a2c6ff5a2efb3de35a048d67.zip
added set center freq call
Diffstat (limited to 'gr-uhd/lib/uhd_simple_sink.cc')
-rw-r--r--gr-uhd/lib/uhd_simple_sink.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-uhd/lib/uhd_simple_sink.cc b/gr-uhd/lib/uhd_simple_sink.cc
index c1edf29bb..f208bd294 100644
--- a/gr-uhd/lib/uhd_simple_sink.cc
+++ b/gr-uhd/lib/uhd_simple_sink.cc
@@ -66,6 +66,10 @@ double uhd_simple_sink::get_samp_rate(void){
return _dev->get_tx_rate();
}
+void uhd_simple_sink::set_center_freq(double freq){
+ _dev->set_tx_freq(freq);
+}
+
/***********************************************************************
* Work
**********************************************************************/