summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Müller <marcus.mueller@ettus.com>2016-06-04 14:30:51 +0200
committerMartin Braun <martin.braun@ettus.com>2016-06-17 12:11:53 -0700
commit9cc4e16b77d074c8d416725ead1afb8898007eb3 (patch)
tree4fc6d21ba3daf7a4ae4a68926389972f291e8aca
parentoctoclock: bugfixes, bumped firmware compat number to 4 (diff)
downloaduhd-9cc4e16b77d074c8d416725ead1afb8898007eb3.tar.xz
uhd-9cc4e16b77d074c8d416725ead1afb8898007eb3.zip
Added the option to disable ADC self-test
This proved helpful on devices where the EEPROM is wrong about hardware revision, and the EEPROM writing doesn't work, because the ADC self-test fails due to being run for the wrong board revision.
-rw-r--r--host/lib/usrp/x300/x300_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp
index c13c2ac07..ce81d5f1f 100644
--- a/host/lib/usrp/x300/x300_impl.cpp
+++ b/host/lib/usrp/x300/x300_impl.cpp
@@ -743,7 +743,7 @@ void x300_impl::setup_mb(const size_t mb_i, const uhd::device_addr_t &dev_addr)
}
if (dev_addr.has_key("ext_adc_self_test")) {
extended_adc_test(mb, dev_addr.cast<double>("ext_adc_self_test", 30));
- } else {
+ } else if ( ! dev_addr.has_key("disable_adc_self_test") ) {
self_test_adcs(mb);
}