diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-01 18:32:37 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-05 13:45:16 -0700 |
commit | 6469d2419f8564c37f8fd6870aedbc990f06e108 (patch) | |
tree | 364b780988d4216d122adc5e7cab74d05889e39e /host/lib/usrp/simple_usrp.cpp | |
parent | 3b1473d5a3fbfb89e9ddc5575e855644707718d0 (diff) | |
download | uhd-6469d2419f8564c37f8fd6870aedbc990f06e108.tar.gz uhd-6469d2419f8564c37f8fd6870aedbc990f06e108.tar.bz2 uhd-6469d2419f8564c37f8fd6870aedbc990f06e108.zip |
uhd: filling in mimo usrp implementation, renamed get_name to get_pp_string for simple and mimo usrp
Diffstat (limited to 'host/lib/usrp/simple_usrp.cpp')
-rw-r--r-- | host/lib/usrp/simple_usrp.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/host/lib/usrp/simple_usrp.cpp b/host/lib/usrp/simple_usrp.cpp index f4aa82669..4a5171cf7 100644 --- a/host/lib/usrp/simple_usrp.cpp +++ b/host/lib/usrp/simple_usrp.cpp @@ -31,7 +31,7 @@ using namespace uhd; using namespace uhd::usrp; /*********************************************************************** - * Simple Device Implementation + * Simple USRP Implementation **********************************************************************/ class simple_usrp_impl : public simple_usrp{ public: @@ -60,7 +60,7 @@ public: return _dev; } - std::string get_name(void){ + std::string get_pp_string(void){ return str(boost::format( "Simple USRP:\n" " Device: %s\n" @@ -102,10 +102,6 @@ public: _mboard[MBOARD_PROP_CLOCK_CONFIG] = clock_config; } - float read_rssi(void){ - return _rx_subdev[SUBDEV_PROP_RSSI].as<float>(); - } - /******************************************************************* * RX methods ******************************************************************/ @@ -157,6 +153,10 @@ public: return _rx_subdev[SUBDEV_PROP_LO_LOCKED].as<bool>(); } + float read_rssi(void){ + return _rx_subdev[SUBDEV_PROP_RSSI].as<float>(); + } + /******************************************************************* * TX methods ******************************************************************/ |