From 17be499295f19809c2b3f444f350d88d90c5a253 Mon Sep 17 00:00:00 2001 From: Marcus Müller Date: Sat, 4 Jun 2016 14:30:51 +0200 Subject: 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. --- host/lib/usrp/x300/x300_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib') 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("ext_adc_self_test", 30)); - } else { + } else if ( ! dev_addr.has_key("disable_adc_self_test") ) { self_test_adcs(mb); } -- cgit v1.2.3