summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-14 18:47:37 -0700
committerJosh Blum <josh@joshknows.com>2010-06-14 18:47:37 -0700
commiteac881f6dcc169749001d5147f0f32f36ad34a21 (patch)
treeae7916082f882f08f19137a46ad01e92a24d1b02 /host/lib/usrp/dboard
parent126444c564d30d65116be5f772bdf47594d62884 (diff)
parent73ea268536e83b8961bea4a0f825ac68f3da2f2b (diff)
downloaduhd-eac881f6dcc169749001d5147f0f32f36ad34a21.tar.gz
uhd-eac881f6dcc169749001d5147f0f32f36ad34a21.tar.bz2
uhd-eac881f6dcc169749001d5147f0f32f36ad34a21.zip
Merge branch 'aux_dac'
Diffstat (limited to 'host/lib/usrp/dboard')
-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();
}