diff options
author | Josh Blum <josh@joshknows.com> | 2010-08-15 22:23:04 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-08-15 22:23:04 -0700 |
commit | a80a62dfe6ebfe5a814c71880b83b64a6bee0d0a (patch) | |
tree | a8d8e6105ad54608883e85f0e2e17ffeb99089fe /host/lib/usrp/usrp2/dboard_impl.cpp | |
parent | 58519b292b561cbec5eb41c85f85c8c6bd4a06fe (diff) | |
download | uhd-a80a62dfe6ebfe5a814c71880b83b64a6bee0d0a.tar.gz uhd-a80a62dfe6ebfe5a814c71880b83b64a6bee0d0a.tar.bz2 uhd-a80a62dfe6ebfe5a814c71880b83b64a6bee0d0a.zip |
usrp: use different priority policies for gain group (rx vs tx)
Diffstat (limited to 'host/lib/usrp/usrp2/dboard_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/dboard_impl.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/dboard_impl.cpp b/host/lib/usrp/usrp2/dboard_impl.cpp index 99599f11a..a462b93c2 100644 --- a/host/lib/usrp/usrp2/dboard_impl.cpp +++ b/host/lib/usrp/usrp2/dboard_impl.cpp @@ -89,7 +89,9 @@ void usrp2_mboard_impl::rx_dboard_get(const wax::obj &key_, wax::obj &val){ case DBOARD_PROP_GAIN_GROUP: val = make_gain_group( - _dboard_manager->get_rx_subdev(key.name), _rx_codec_proxy->get_link() + _dboard_manager->get_rx_subdev(key.name), + _rx_codec_proxy->get_link(), + GAIN_GROUP_POLICY_RX ); return; @@ -143,7 +145,9 @@ void usrp2_mboard_impl::tx_dboard_get(const wax::obj &key_, wax::obj &val){ case DBOARD_PROP_GAIN_GROUP: val = make_gain_group( - _dboard_manager->get_tx_subdev(key.name), _tx_codec_proxy->get_link() + _dboard_manager->get_tx_subdev(key.name), + _tx_codec_proxy->get_link(), + GAIN_GROUP_POLICY_TX ); return; |