From 1ac260c0e6a3417791687081cec4930f057ad344 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Thu, 7 Aug 2008 11:23:40 +0000 Subject: 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 --- bootloader/main-pp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bootloader/main-pp.c') 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(); -- cgit v1.2.3