forked from len0rd/rockbox
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
This commit is contained in:
parent
0eb5dc649f
commit
be8a27ad81
3 changed files with 31 additions and 18 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue