aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/codec_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-15 10:55:18 -0700
committerJosh Blum <josh@joshknows.com>2010-08-15 10:55:18 -0700
commit45c952399b92d5dc618c469cf48c9980ee6f0e80 (patch)
tree077870c0975c97cabd5d8c76e19965aeade2cdc6 /host/lib/usrp/usrp2/codec_impl.cpp
parent9cb9e7d52255d3e14e57867eee76b555f705954c (diff)
parent98ba0cc067489d417342314a7e7408d2dbbc8250 (diff)
downloaduhd-45c952399b92d5dc618c469cf48c9980ee6f0e80.tar.gz
uhd-45c952399b92d5dc618c469cf48c9980ee6f0e80.tar.bz2
uhd-45c952399b92d5dc618c469cf48c9980ee6f0e80.zip
Merge branch 'next' into usrp1
Diffstat (limited to 'host/lib/usrp/usrp2/codec_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/codec_impl.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/host/lib/usrp/usrp2/codec_impl.cpp b/host/lib/usrp/usrp2/codec_impl.cpp
index b9d51abf5..fc917b102 100644
--- a/host/lib/usrp/usrp2/codec_impl.cpp
+++ b/host/lib/usrp/usrp2/codec_impl.cpp
@@ -40,9 +40,7 @@ void usrp2_mboard_impl::codec_init(void){
/***********************************************************************
* RX Codec Properties
**********************************************************************/
-void usrp2_mboard_impl::rx_codec_get(const wax::obj &key_, wax::obj &val){
- wax::obj key; std::string name;
- boost::tie(key, name) = extract_named_prop(key_);
+void usrp2_mboard_impl::rx_codec_get(const wax::obj &key, wax::obj &val){
//handle the get request conditioned on the key
switch(key.as<codec_prop_t>()){
@@ -69,9 +67,7 @@ void usrp2_mboard_impl::rx_codec_set(const wax::obj &, const wax::obj &){
/***********************************************************************
* TX Codec Properties
**********************************************************************/
-void usrp2_mboard_impl::tx_codec_get(const wax::obj &key_, wax::obj &val){
- wax::obj key; std::string name;
- boost::tie(key, name) = extract_named_prop(key_);
+void usrp2_mboard_impl::tx_codec_get(const wax::obj &key, wax::obj &val){
//handle the get request conditioned on the key
switch(key.as<codec_prop_t>()){