aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2014-08-13 11:04:23 -0700
committerAshish Chaudhari <ashish@ettus.com>2014-08-13 11:04:23 -0700
commit282b31cedd8047a73557dfc0b5ff8e8936945fc4 (patch)
treeddd5be6baafffcb82ff018a5f2edc310a0b9bacb /host/lib
parent09898c18f46ab37a1ee716b0bfee8a88099552ba (diff)
downloaduhd-282b31cedd8047a73557dfc0b5ff8e8936945fc4.tar.gz
uhd-282b31cedd8047a73557dfc0b5ff8e8936945fc4.tar.bz2
uhd-282b31cedd8047a73557dfc0b5ff8e8936945fc4.zip
ad9361: Fixed TX direction bug in ad9361_ctrl
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/common/ad9361_ctrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/common/ad9361_ctrl.cpp b/host/lib/usrp/common/ad9361_ctrl.cpp
index be97efb19..dea18ff06 100644
--- a/host/lib/usrp/common/ad9361_ctrl.cpp
+++ b/host/lib/usrp/common/ad9361_ctrl.cpp
@@ -150,7 +150,7 @@ private:
if (sub == "RX") {
return ad9361_device_t::RX;
} else if (sub == "TX") {
- return ad9361_device_t::RX;
+ return ad9361_device_t::TX;
} else {
throw uhd::runtime_error("ad9361_ctrl got an invalid channel string.");
}