diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-05 16:36:51 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-05 16:36:51 -0700 |
commit | 97496ace66842f9d7529793b2b202be9abe156c3 (patch) | |
tree | b3c584cba724e346e353dd82560644edbf92bfd6 /host/lib/usrp/usrp2/usrp2_impl.cpp | |
parent | 1cc8c6c964d4368d9e918e4cb357600453a24c94 (diff) | |
download | uhd-97496ace66842f9d7529793b2b202be9abe156c3.tar.gz uhd-97496ace66842f9d7529793b2b202be9abe156c3.tar.bz2 uhd-97496ace66842f9d7529793b2b202be9abe156c3.zip |
simplified the usage of dboard, dsp, and mboard proxies.
removed the dict structure for each, we are just going to have one.
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_impl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp index d7a9845cd..a7be2da8c 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.cpp +++ b/host/lib/usrp/usrp2/usrp2_impl.cpp @@ -255,12 +255,12 @@ void usrp2_impl::get(const wax::obj &key_, wax::obj &val){ return; case DEVICE_PROP_MBOARD: - ASSERT_THROW(_mboards.has_key(name)); - val = _mboards[name]->get_link(); + ASSERT_THROW(name == ""); + val = _mboard_proxy->get_link(); return; case DEVICE_PROP_MBOARD_NAMES: - val = prop_names_t(_mboards.get_keys()); + val = prop_names_t(1, ""); return; case DEVICE_PROP_MAX_RX_SAMPLES: |