aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/multi_usrp.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-10-24 10:36:41 -0700
committerJosh Blum <josh@joshknows.com>2011-11-03 20:37:13 -0700
commita62645089202ac2ac39a55c48d3876474b54223e (patch)
tree76fb64908218a804aa1cdb476d52068898393ae7 /host/lib/usrp/multi_usrp.cpp
parentbd08f403e3936d9c35b04f8990605dd49310fbfd (diff)
downloaduhd-a62645089202ac2ac39a55c48d3876474b54223e.tar.gz
uhd-a62645089202ac2ac39a55c48d3876474b54223e.tar.bz2
uhd-a62645089202ac2ac39a55c48d3876474b54223e.zip
usrp: prefer name iq_balance for api call
Diffstat (limited to 'host/lib/usrp/multi_usrp.cpp')
-rw-r--r--host/lib/usrp/multi_usrp.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp
index 5a6acc2c5..7b3890c9b 100644
--- a/host/lib/usrp/multi_usrp.cpp
+++ b/host/lib/usrp/multi_usrp.cpp
@@ -567,13 +567,13 @@ public:
}
}
- void set_rx_correction(const std::complex<double> &offset, size_t chan){
+ void set_rx_iq_balance(const std::complex<double> &offset, size_t chan){
if (chan != ALL_CHANS){
- _tree->access<std::complex<double> >(rx_rf_fe_root(chan).branch_path() / "correction" / "value").set(offset);
+ _tree->access<std::complex<double> >(rx_rf_fe_root(chan).branch_path() / "iq_balance" / "value").set(offset);
return;
}
for (size_t c = 0; c < get_rx_num_channels(); c++){
- this->set_rx_correction(offset, c);
+ this->set_rx_iq_balance(offset, c);
}
}
@@ -701,13 +701,13 @@ public:
}
}
- void set_tx_correction(const std::complex<double> &offset, size_t chan){
+ void set_tx_iq_balance(const std::complex<double> &offset, size_t chan){
if (chan != ALL_CHANS){
- _tree->access<std::complex<double> >(tx_rf_fe_root(chan).branch_path() / "correction" / "value").set(offset);
+ _tree->access<std::complex<double> >(tx_rf_fe_root(chan).branch_path() / "iq_balance" / "value").set(offset);
return;
}
for (size_t c = 0; c < get_tx_num_channels(); c++){
- this->set_tx_correction(offset, c);
+ this->set_tx_iq_balance(offset, c);
}
}