aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/db_rfx.cpp
diff options
context:
space:
mode:
authorJason Abele <jason@ettus.com>2010-06-11 18:22:01 -0700
committerJason Abele <jason@ettus.com>2010-06-11 18:22:01 -0700
commitf73a3688069b69327f6837871e0b524125c67038 (patch)
tree40f184aab626f9cd123d7a238c75dd54e0ba2379 /host/lib/usrp/dboard/db_rfx.cpp
parent13b2be45f22aa52304ef4918d7c7a8e84ffbf264 (diff)
downloaduhd-f73a3688069b69327f6837871e0b524125c67038.tar.gz
uhd-f73a3688069b69327f6837871e0b524125c67038.tar.bz2
uhd-f73a3688069b69327f6837871e0b524125c67038.zip
Fixed USRP2 aux_dac numbering convention
Diffstat (limited to 'host/lib/usrp/dboard/db_rfx.cpp')
-rw-r--r--host/lib/usrp/dboard/db_rfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/db_rfx.cpp b/host/lib/usrp/dboard/db_rfx.cpp
index 17fc00d24..2585dfa8d 100644
--- a/host/lib/usrp/dboard/db_rfx.cpp
+++ b/host/lib/usrp/dboard/db_rfx.cpp
@@ -257,7 +257,7 @@ void rfx_xcvr::set_rx_gain(float gain, const std::string &name){
_rx_gains[name] = gain;
//write the new voltage to the aux dac
- this->get_iface()->write_aux_dac(dboard_iface::UNIT_RX, 1, dac_volts);
+ this->get_iface()->write_aux_dac(dboard_iface::UNIT_RX, 0, dac_volts);
}
else UHD_THROW_INVALID_CODE_PATH();
}