aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-11-14 15:58:49 -0800
committerJosh Blum <josh@joshknows.com>2011-11-14 15:58:49 -0800
commit5a77062d33ff675e8f395a8a871e8e6632a204a0 (patch)
tree616ccbd874006de3ab5c4cebd1b59d40a41c1097 /host/lib
parentcfa3f8283b66126056029f71e574700ba649d4e1 (diff)
downloaduhd-5a77062d33ff675e8f395a8a871e8e6632a204a0.tar.gz
uhd-5a77062d33ff675e8f395a8a871e8e6632a204a0.tar.bz2
uhd-5a77062d33ff675e8f395a8a871e8e6632a204a0.zip
uhd: added tx dc offset calibration + tweaks
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/common/apply_corrections.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/host/lib/usrp/common/apply_corrections.cpp b/host/lib/usrp/common/apply_corrections.cpp
index c3ac4256a..720c51633 100644
--- a/host/lib/usrp/common/apply_corrections.cpp
+++ b/host/lib/usrp/common/apply_corrections.cpp
@@ -142,7 +142,14 @@ void uhd::usrp::apply_tx_fe_corrections(
sub_tree,
"dboards/" + slot + "/tx_eeprom",
"tx_frontends/" + slot + "/iq_balance/value",
- "tx_fe_cal_v0.1_",
+ "tx_iq_cal_v0.1_",
+ lo_freq
+ );
+ apply_fe_corrections(
+ sub_tree,
+ "dboards/" + slot + "/tx_eeprom",
+ "tx_frontends/" + slot + "/dc_offset/value",
+ "tx_dc_cal_v0.1_",
lo_freq
);
}
@@ -162,7 +169,7 @@ void uhd::usrp::apply_rx_fe_corrections(
sub_tree,
"dboards/" + slot + "/rx_eeprom",
"rx_frontends/" + slot + "/iq_balance/value",
- "rx_fe_cal_v0.1_",
+ "rx_iq_cal_v0.1_",
lo_freq
);
}