aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
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-06 16:52:04 -0700
commit17be499295f19809c2b3f444f350d88d90c5a253 (patch)
treee38a6bd9a7271480d7dfd13062f1cba26e104c07 /host/lib
parentc69222a15c36c7222805a9b64f786ee5d6fbfb3e (diff)
downloaduhd-17be499295f19809c2b3f444f350d88d90c5a253.tar.gz
uhd-17be499295f19809c2b3f444f350d88d90c5a253.tar.bz2
uhd-17be499295f19809c2b3f444f350d88d90c5a253.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.
Diffstat (limited to 'host/lib')
-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 85deaee90..2a1e77611 100644
--- a/host/lib/usrp/x300/x300_impl.cpp
+++ b/host/lib/usrp/x300/x300_impl.cpp
@@ -929,7 +929,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);
}