M:Robe 500: Rearrage TSC2100 reads to make touchscreen more reliable, add hack to get lcd_sleep working/called again, fix the panic handler so that it waits for the power button to be pressed instead of freezing the player

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20818 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2009-04-28 05:07:25 +00:00
parent 4e747f1c5c
commit 57ca7ccf36
11 changed files with 104 additions and 155 deletions

View file

@ -188,7 +188,11 @@ void system_reboot(void)
void system_exception_wait(void)
{
while (1);
/* Mask all Interrupts. */
IO_INTC_EINT0 = 0;
IO_INTC_EINT1 = 0;
IO_INTC_EINT2 = 0;
while ((IO_GIO_BITSET0&0x01) != 0); /* Wait for power button */
}
void system_init(void)