diff options
author | Josh Blum | 2010-03-16 19:43:08 -0700 |
---|---|---|
committer | Josh Blum | 2010-03-16 19:43:08 -0700 |
commit | b5c1edfd488ccdd8a2c6ff5a2efb3de35a048d67 (patch) | |
tree | f5cbdb36c04471085855e8733bb1297eb6d77c0c /gr-uhd/lib/uhd_simple_sink.cc | |
parent | d43d40813c1a8343a86abb231876a8b7c0e9f806 (diff) | |
download | gnuradio-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.cc | 4 |
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 **********************************************************************/ |