summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_simple_source.cc
diff options
context:
space:
mode:
authorJosh Blum2010-03-29 15:30:02 -0700
committerJosh Blum2010-03-29 15:30:02 -0700
commit6851718b6d9a97a8c9397a1548708c7075de98e4 (patch)
tree64ec9fd4a82987dd0635cca1fdc7270a3aa74b3f /gr-uhd/lib/uhd_simple_source.cc
parent0abfa7d596265a2b7d54da1206979171a0891fb4 (diff)
downloadgnuradio-6851718b6d9a97a8c9397a1548708c7075de98e4.tar.gz
gnuradio-6851718b6d9a97a8c9397a1548708c7075de98e4.tar.bz2
gnuradio-6851718b6d9a97a8c9397a1548708c7075de98e4.zip
added swig includes and tune result return
Diffstat (limited to 'gr-uhd/lib/uhd_simple_source.cc')
-rw-r--r--gr-uhd/lib/uhd_simple_source.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/lib/uhd_simple_source.cc b/gr-uhd/lib/uhd_simple_source.cc
index 87b727874..725cb2807 100644
--- a/gr-uhd/lib/uhd_simple_source.cc
+++ b/gr-uhd/lib/uhd_simple_source.cc
@@ -75,8 +75,8 @@ 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);
+uhd::tune_result_t uhd_simple_source::set_center_freq(double freq){
+ return _dev->set_rx_freq(freq);
}
/***********************************************************************