diff options
author | Marcus Müller <marcus.mueller@ettus.com> | 2016-06-04 14:30:51 +0200 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-06-17 12:11:53 -0700 |
commit | 9cc4e16b77d074c8d416725ead1afb8898007eb3 (patch) | |
tree | 4fc6d21ba3daf7a4ae4a68926389972f291e8aca /host/lib/usrp | |
parent | aa1665958756ab02342bb13c41f14aec6f0ef3f4 (diff) | |
download | uhd-9cc4e16b77d074c8d416725ead1afb8898007eb3.tar.gz uhd-9cc4e16b77d074c8d416725ead1afb8898007eb3.tar.bz2 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.
Diffstat (limited to 'host/lib/usrp')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 2 |
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); } |