summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-01 18:32:37 -0700
committerJosh Blum <josh@joshknows.com>2010-07-05 13:45:16 -0700
commit6469d2419f8564c37f8fd6870aedbc990f06e108 (patch)
tree364b780988d4216d122adc5e7cab74d05889e39e /host/lib/usrp/usrp2
parent3b1473d5a3fbfb89e9ddc5575e855644707718d0 (diff)
downloaduhd-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/usrp2')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp
index cdba19f50..3402c26b1 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.cpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.cpp
@@ -199,7 +199,8 @@ void usrp2_impl::get(const wax::obj &key_, wax::obj &val){
//handle the get request conditioned on the key
switch(key.as<device_prop_t>()){
case DEVICE_PROP_NAME:
- val = std::string("usrp2 device");
+ if (_mboards.size() > 1) val = std::string("usrp2 mimo device");
+ else val = std::string("usrp2 device");
return;
case DEVICE_PROP_MBOARD: