forked from len0rd/rockbox
We must sleep 2 ticks to be really sure that all A/D channels have been converted at least once before returning from adc_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5136 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2a3b4985ce
commit
e29e91e025
1 changed files with 1 additions and 1 deletions
|
|
@ -102,5 +102,5 @@ void adc_init(void)
|
|||
|
||||
tick_add_task(adc_tick);
|
||||
|
||||
sleep(1); /* Ensure valid readings when adc_init returns */
|
||||
sleep(2); /* Ensure valid readings when adc_init returns */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue