diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2008-08-07 11:23:40 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2008-08-07 11:23:40 +0000 |
commit | 1ac260c0e6a3417791687081cec4930f057ad344 (patch) | |
tree | 74687842b601157167670956ae8e77a5ebc22bcc /bootloader/main-pp.c | |
parent | eca923d8e1c06ef9e5444c8e06fd499bcf062c33 (diff) |
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
Diffstat (limited to 'bootloader/main-pp.c')
-rw-r--r-- | bootloader/main-pp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c index d454fc84a2..5e20142a59 100644 --- a/bootloader/main-pp.c +++ b/bootloader/main-pp.c @@ -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(); |