summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_single_usrp_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/lib/uhd_single_usrp_source.h')
-rw-r--r--gr-uhd/lib/uhd_single_usrp_source.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/lib/uhd_single_usrp_source.h b/gr-uhd/lib/uhd_single_usrp_source.h
index 298c00dc2..c7ff18770 100644
--- a/gr-uhd/lib/uhd_single_usrp_source.h
+++ b/gr-uhd/lib/uhd_single_usrp_source.h
@@ -96,14 +96,14 @@ public:
* \param gain the gain in dB
* \param chan the channel index 0 to N-1
*/
- virtual void set_gain(float gain, size_t chan = 0) = 0;
+ virtual void set_gain(double gain, size_t chan = 0) = 0;
/*!
* Get the actual dboard gain setting.
* \param chan the channel index 0 to N-1
* \return the actual gain in dB
*/
- virtual float get_gain(size_t chan = 0) = 0;
+ virtual double get_gain(size_t chan = 0) = 0;
/*!
* Get the settable gain range.