summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-10-11 18:37:04 -0700
committerNick Foster <nick@nerdnetworks.org>2010-10-11 18:37:04 -0700
commit3b36c206e56b415974ed83a52a652b65f9de1add (patch)
tree8ec7ad73810be4a360e78f84aef710e1ef6a4a89 /host
parentf28c07db44694e3cce96502183c7570a386987f5 (diff)
downloaduhd-3b36c206e56b415974ed83a52a652b65f9de1add.tar.gz
uhd-3b36c206e56b415974ed83a52a652b65f9de1add.tar.bz2
uhd-3b36c206e56b415974ed83a52a652b65f9de1add.zip
UHD: reordered MIMO set_rx_bandwidth arg order
Diffstat (limited to 'host')
-rw-r--r--host/include/uhd/usrp/mimo_usrp.hpp2
-rw-r--r--host/lib/usrp/mimo_usrp.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/usrp/mimo_usrp.hpp b/host/include/uhd/usrp/mimo_usrp.hpp
index ed40addb3..bdd84a148 100644
--- a/host/include/uhd/usrp/mimo_usrp.hpp
+++ b/host/include/uhd/usrp/mimo_usrp.hpp
@@ -149,7 +149,7 @@ public:
*/
virtual float read_rssi(size_t chan) = 0;
- virtual void set_rx_bandwidth(float bandwidth, size_t chan) = 0;
+ virtual void set_rx_bandwidth(size_t chan, float bandwidth) = 0;
/*******************************************************************
* TX methods
diff --git a/host/lib/usrp/mimo_usrp.cpp b/host/lib/usrp/mimo_usrp.cpp
index 5437607a6..08618c288 100644
--- a/host/lib/usrp/mimo_usrp.cpp
+++ b/host/lib/usrp/mimo_usrp.cpp
@@ -226,7 +226,7 @@ public:
return _rx_subdev(chan)[SUBDEV_PROP_RSSI].as<float>();
}
- void set_rx_bandwidth(float bandwidth, size_t chan){
+ void set_rx_bandwidth(size_t chan, float bandwidth){
_rx_subdev(chan)[SUBDEV_PROP_BANDWIDTH] = bandwidth;
}