From b5c1edfd488ccdd8a2c6ff5a2efb3de35a048d67 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 16 Mar 2010 19:43:08 -0700 Subject: added set center freq call --- gr-uhd/lib/uhd_simple_sink.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gr-uhd/lib/uhd_simple_sink.cc') 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 **********************************************************************/ -- cgit