mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #602 from openmv/update_vthresh
Increase VREF threshold in self-tests.
This commit is contained in:
commit
6dbcf2f060
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user