diff options
Diffstat (limited to 'gr-uhd/lib/uhd_simple_source.cc')
-rw-r--r-- | gr-uhd/lib/uhd_simple_source.cc | 4 |
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 827cad458..1a0bb2b61 100644 --- a/gr-uhd/lib/uhd_simple_source.cc +++ b/gr-uhd/lib/uhd_simple_source.cc @@ -68,6 +68,10 @@ double uhd_simple_source::get_samp_rate(void){ return _dev->get_rx_rate(); } +void uhd_simple_source::set_center_freq(double freq){ + _dev->set_rx_freq(freq); +} + /*********************************************************************** * Work **********************************************************************/ |