aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/dboard_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-16 00:09:47 -0700
committerJosh Blum <josh@joshknows.com>2010-08-16 00:09:47 -0700
commit564bfee0389d0274e7cd128d61dcbe50ca6a6cdd (patch)
tree5f06ae5b63a0c52f0b52562d2c12c70a1faed17d /host/lib/usrp/usrp1/dboard_impl.cpp
parent963f60c69c25a1295b5ed4dee07df5d91567deb7 (diff)
downloaduhd-564bfee0389d0274e7cd128d61dcbe50ca6a6cdd.tar.gz
uhd-564bfee0389d0274e7cd128d61dcbe50ca6a6cdd.tar.bz2
uhd-564bfee0389d0274e7cd128d61dcbe50ca6a6cdd.zip
usrp1: compiling with the latest next
Diffstat (limited to 'host/lib/usrp/usrp1/dboard_impl.cpp')
-rw-r--r--host/lib/usrp/usrp1/dboard_impl.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/host/lib/usrp/usrp1/dboard_impl.cpp b/host/lib/usrp/usrp1/dboard_impl.cpp
index ba826d2f5..c8d9c55dd 100644
--- a/host/lib/usrp/usrp1/dboard_impl.cpp
+++ b/host/lib/usrp/usrp1/dboard_impl.cpp
@@ -17,8 +17,8 @@
#include "usrp1_impl.hpp"
#include "usrp_i2c_addr.h"
-#include "../dsp_utils.hpp"
-#include "../misc_utils.hpp"
+#include <uhd/usrp/dsp_utils.hpp>
+#include <uhd/usrp/misc_utils.hpp>
#include <uhd/utils/assert.hpp>
#include <uhd/usrp/dboard_props.hpp>
#include <uhd/usrp/subdev_props.hpp>
@@ -122,8 +122,11 @@ void usrp1_impl::rx_dboard_get(const wax::obj &key_, wax::obj &val, dboard_slot_
return;
case DBOARD_PROP_GAIN_GROUP:
- val = make_gain_group(_dboard_managers[dboard_slot]->get_rx_subdev(key.name),
- _rx_codec_proxies[dboard_slot]->get_link());
+ val = make_gain_group(
+ _dboard_managers[dboard_slot]->get_rx_subdev(key.name),
+ _rx_codec_proxies[dboard_slot]->get_link(),
+ GAIN_GROUP_POLICY_RX
+ );
return;
default: UHD_THROW_PROP_GET_ERROR();
@@ -183,8 +186,11 @@ void usrp1_impl::tx_dboard_get(const wax::obj &key_, wax::obj &val, dboard_slot_
return;
case DBOARD_PROP_GAIN_GROUP:
- val = make_gain_group(_dboard_managers[dboard_slot]->get_tx_subdev(key.name),
- _tx_codec_proxies[dboard_slot]->get_link());
+ val = make_gain_group(
+ _dboard_managers[dboard_slot]->get_tx_subdev(key.name),
+ _tx_codec_proxies[dboard_slot]->get_link(),
+ GAIN_GROUP_POLICY_TX
+ );
return;
default: UHD_THROW_PROP_GET_ERROR();