summaryrefslogtreecommitdiff
path: root/bootloader/main-pp.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2008-08-07 11:23:40 +0000
committerBarry Wardell <rockbox@barrywardell.net>2008-08-07 11:23:40 +0000
commit1ac260c0e6a3417791687081cec4930f057ad344 (patch)
tree74687842b601157167670956ae8e77a5ebc22bcc /bootloader/main-pp.c
parenteca923d8e1c06ef9e5444c8e06fd499bcf062c33 (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.c2
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();