From b5556476aee35c5a77d1e255eb54d60028d8490e Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 12 Jan 2011 14:24:13 -0800 Subject: uhd: replace gain floats with doubles to reflect new uhd api --- gr-uhd/lib/uhd_multi_usrp_source.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gr-uhd/lib/uhd_multi_usrp_source.cc') 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); } -- cgit