summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_multi_usrp_source.cc
diff options
context:
space:
mode:
authorJosh Blum2011-01-12 14:24:13 -0800
committerJosh Blum2011-01-19 22:24:57 -0800
commitb5556476aee35c5a77d1e255eb54d60028d8490e (patch)
tree56fa88a10366d3d15013886a6f1012bc5ebe92e8 /gr-uhd/lib/uhd_multi_usrp_source.cc
parent69ae2c9b1eca4c69d9007b146aa54fd1b75fcd28 (diff)
downloadgnuradio-b5556476aee35c5a77d1e255eb54d60028d8490e.tar.gz
gnuradio-b5556476aee35c5a77d1e255eb54d60028d8490e.tar.bz2
gnuradio-b5556476aee35c5a77d1e255eb54d60028d8490e.zip
uhd: replace gain floats with doubles to reflect new uhd api
Diffstat (limited to 'gr-uhd/lib/uhd_multi_usrp_source.cc')
-rw-r--r--gr-uhd/lib/uhd_multi_usrp_source.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/lib/uhd_multi_usrp_source.cc b/gr-uhd/lib/uhd_multi_usrp_source.cc
index 770314057..181cf1eb4 100644
--- a/gr-uhd/lib/uhd_multi_usrp_source.cc
+++ b/gr-uhd/lib/uhd_multi_usrp_source.cc
@@ -73,11 +73,11 @@ public:
return _dev->get_rx_freq_range(chan);
}
- void set_gain(float gain, size_t chan){
+ void set_gain(double gain, size_t chan){
return _dev->set_rx_gain(gain, chan);
}
- float get_gain(size_t chan){
+ double get_gain(size_t chan){
return _dev->get_rx_gain(chan);
}