Merge pull request #602 from openmv/update_vthresh

Increase VREF threshold in self-tests.
This commit is contained in:
Ibrahim Abd Elkader 2019-10-11 01:05:45 +02:00 committed by GitHub
commit 6dbcf2f060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@ static const char fresh_selftest_py[] =
" # Test VBAT\n"
" vbat = adc.read_core_vbat()\n"
" vbat_diff = abs(vbat-3.3)\n"
" if (vbat_diff > 0.1):\n"
" if (vbat_diff > 0.15):\n"
" raise Exception('INTERNAL ADC TEST FAILED VBAT=%fv'%vbat)\n"
"\n"
" # Test VREF\n"