aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/simple_usrp.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-05 16:36:51 -0700
committerJosh Blum <josh@joshknows.com>2010-04-05 16:36:51 -0700
commit97496ace66842f9d7529793b2b202be9abe156c3 (patch)
treeb3c584cba724e346e353dd82560644edbf92bfd6 /host/lib/usrp/simple_usrp.cpp
parent1cc8c6c964d4368d9e918e4cb357600453a24c94 (diff)
downloaduhd-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/simple_usrp.cpp')
-rw-r--r--host/lib/usrp/simple_usrp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/simple_usrp.cpp b/host/lib/usrp/simple_usrp.cpp
index bd8bac00f..fb3cc8eec 100644
--- a/host/lib/usrp/simple_usrp.cpp
+++ b/host/lib/usrp/simple_usrp.cpp
@@ -38,8 +38,8 @@ public:
simple_usrp_impl(const device_addr_t &addr){
_dev = device::make(addr);
_mboard = (*_dev)[DEVICE_PROP_MBOARD];
- _rx_dsp = _mboard[named_prop_t(MBOARD_PROP_RX_DSP, "ddc0")]; //FIX string crap
- _tx_dsp = _mboard[named_prop_t(MBOARD_PROP_TX_DSP, "duc0")]; //FIX string crap
+ _rx_dsp = _mboard[MBOARD_PROP_RX_DSP];
+ _tx_dsp = _mboard[MBOARD_PROP_TX_DSP];
//extract rx subdevice
wax::obj rx_dboard = _mboard[MBOARD_PROP_RX_DBOARD];