From 282b31cedd8047a73557dfc0b5ff8e8936945fc4 Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Wed, 13 Aug 2014 11:04:23 -0700 Subject: ad9361: Fixed TX direction bug in ad9361_ctrl --- host/lib/usrp/common/ad9361_ctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/usrp/common') 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."); } -- cgit v1.2.3