diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-28 05:07:25 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-28 05:07:25 +0000 |
commit | 57ca7ccf36728fec7096931a064adc0b0e212ae0 (patch) | |
tree | d97c3a9477eac4cf2c7d7a4e0602a0b772d5805f /firmware/target/arm/tms320dm320/system-dm320.c | |
parent | 4e747f1c5ccc98d99c24354c6fef0d6abf87d220 (diff) |
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
Diffstat (limited to 'firmware/target/arm/tms320dm320/system-dm320.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/system-dm320.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/arm/tms320dm320/system-dm320.c b/firmware/target/arm/tms320dm320/system-dm320.c index e8d732351f..638e378159 100644 --- a/firmware/target/arm/tms320dm320/system-dm320.c +++ b/firmware/target/arm/tms320dm320/system-dm320.c @@ -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) |