aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/dboard_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-20 17:41:59 -0700
committerJosh Blum <josh@joshknows.com>2010-10-20 17:41:59 -0700
commitd96b2e7587962c43c1db895b3340f9d868cbd704 (patch)
tree1bf3f1a77312695cef87e696be9eb905617c2ec3 /host/lib/usrp/usrp1/dboard_impl.cpp
parent8e341caadf19db645635e3e7e1a26e6b00e64c70 (diff)
downloaduhd-d96b2e7587962c43c1db895b3340f9d868cbd704.tar.gz
uhd-d96b2e7587962c43c1db895b3340f9d868cbd704.tar.bz2
uhd-d96b2e7587962c43c1db895b3340f9d868cbd704.zip
usrp: use the dboard id to prefix the subdev gain group names
Diffstat (limited to 'host/lib/usrp/usrp1/dboard_impl.cpp')
-rw-r--r--host/lib/usrp/usrp1/dboard_impl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp1/dboard_impl.cpp b/host/lib/usrp/usrp1/dboard_impl.cpp
index 3a8480e1b..2a2762a82 100644
--- a/host/lib/usrp/usrp1/dboard_impl.cpp
+++ b/host/lib/usrp/usrp1/dboard_impl.cpp
@@ -124,6 +124,7 @@ void usrp1_impl::rx_dboard_get(const wax::obj &key_, wax::obj &val, dboard_slot_
case DBOARD_PROP_GAIN_GROUP:
val = make_gain_group(
+ _rx_db_eeproms[dboard_slot].id,
_dboard_managers[dboard_slot]->get_rx_subdev(key.name),
_rx_codec_proxies[dboard_slot]->get_link(),
GAIN_GROUP_POLICY_RX
@@ -188,6 +189,7 @@ void usrp1_impl::tx_dboard_get(const wax::obj &key_, wax::obj &val, dboard_slot_
case DBOARD_PROP_GAIN_GROUP:
val = make_gain_group(
+ _tx_db_eeproms[dboard_slot].id,
_dboard_managers[dboard_slot]->get_tx_subdev(key.name),
_tx_codec_proxies[dboard_slot]->get_link(),
GAIN_GROUP_POLICY_TX