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/usrp2/usrp2_impl.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/usrp2/usrp2_impl.cpp')
| -rw-r--r-- | host/lib/usrp/usrp2/usrp2_impl.cpp | 3 | 
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: | 
