diff options
author | Josh Blum <josh@joshknows.com> | 2010-03-27 14:27:55 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-03-27 14:27:55 -0700 |
commit | b71d0cbea9e1e107eeb1da51ef14fe6b9e983ee6 (patch) | |
tree | f0b8e41990c2600cac35467b3dcfbfed097d86cc /host/lib/simple_device.cpp | |
parent | 52df9afd679fd0f42edeef29f0bbc0d7bd76559e (diff) | |
download | uhd-b71d0cbea9e1e107eeb1da51ef14fe6b9e983ee6.tar.gz uhd-b71d0cbea9e1e107eeb1da51ef14fe6b9e983ee6.tar.bz2 uhd-b71d0cbea9e1e107eeb1da51ef14fe6b9e983ee6.zip |
refactored types.hpp into types directory
Diffstat (limited to 'host/lib/simple_device.cpp')
-rw-r--r-- | host/lib/simple_device.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/host/lib/simple_device.cpp b/host/lib/simple_device.cpp index 0eb69d9fa..95bc8fecc 100644 --- a/host/lib/simple_device.cpp +++ b/host/lib/simple_device.cpp @@ -19,7 +19,6 @@ #include <uhd/utils/assert.hpp> #include <uhd/utils/algorithm.hpp> #include <uhd/props.hpp> -#include <uhd/types.hpp> #include <boost/algorithm/string.hpp> #include <boost/foreach.hpp> #include <boost/format.hpp> @@ -208,7 +207,7 @@ public: } float get_rx_gain(void){ - return _rx_subdev[SUBDEV_PROP_GAIN].as<gain_t>(); + return _rx_subdev[SUBDEV_PROP_GAIN].as<float>(); } gain_range_t get_rx_gain_range(void){ @@ -264,7 +263,7 @@ public: } float get_tx_gain(void){ - return _tx_subdev[SUBDEV_PROP_GAIN].as<gain_t>(); + return _tx_subdev[SUBDEV_PROP_GAIN].as<float>(); } gain_range_t get_tx_gain_range(void){ |