Fix H10 bootloader locking up if the scroll pad was touched. May also fix any other lock ups from trying to read from the adc in the bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18208 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
eca923d8e1
commit
1ac260c0e6
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
|||
#include "lcd.h"
|
||||
#include "font.h"
|
||||
#include "ata.h"
|
||||
#include "adc.h"
|
||||
#include "button.h"
|
||||
#include "disk.h"
|
||||
#include "crc32-mi4.h"
|
||||
|
@ -459,6 +460,7 @@ void* main(void)
|
|||
font_init();
|
||||
show_logo();
|
||||
|
||||
adc_init();
|
||||
button_init();
|
||||
#if defined(SANSA_E200) || defined(PHILIPS_SA9200)
|
||||
i2c_init();
|
||||
|
|
Loading…
Reference in a new issue