summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-04-20 18:28:51 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-04-20 18:28:51 +0000
commitbe8a27ad818c0db4c6687edce159bbbe9df7ff5e (patch)
treea6baefd29b28329bf107786669a86311d5f40db6 /bootloader
parent0eb5dc649f34ca136d0160bf5d43961a2c3cea05 (diff)
downloadrockbox-be8a27ad818c0db4c6687edce159bbbe9df7ff5e.tar.gz
rockbox-be8a27ad818c0db4c6687edce159bbbe9df7ff5e.tar.bz2
rockbox-be8a27ad818c0db4c6687edce159bbbe9df7ff5e.zip
Onda VX747: fix touchscreen issues when switching from bootloader to 'normal' Rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20754 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rwxr-xr-xbootloader/ondavx747.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootloader/ondavx747.c b/bootloader/ondavx747.c
index 442fc61422..3e232e0f46 100755
--- a/bootloader/ondavx747.c
+++ b/bootloader/ondavx747.c
@@ -31,6 +31,7 @@
#include "storage.h"
#include "disk.h"
#include "string.h"
+#include "adc.h"
static void show_splash(int timeout, const char *msg)
{
@@ -101,6 +102,7 @@ int main(void)
font_init();
lcd_setfont(FONT_SYSFIXED);
button_init();
+ adc_init();
storage_init();
reset_screen();
@@ -142,6 +144,7 @@ int main(void)
if (rc == EOK)
{
printf("Starting Rockbox...");
+ adc_close(); /* Disable SADC */
disable_interrupt();
kernel_entry = (void*) CONFIG_SDRAM_START;
kernel_entry();