forked from len0rd/rockbox
Call system_reboot() instead of rolo_load() in the UIE handler
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7479 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b2964cad0c
commit
835012fa35
1 changed files with 1 additions and 2 deletions
|
@ -891,14 +891,13 @@ void UIE (unsigned int pc) /* Unexpected Interrupt or Exception */
|
|||
/* try to restart firmware if ON is pressed */
|
||||
#if CONFIG_KEYPAD == PLAYER_PAD
|
||||
if (!(PADR & 0x0020))
|
||||
rolo_load("/archos.mod");
|
||||
#elif CONFIG_KEYPAD == RECORDER_PAD
|
||||
#ifdef HAVE_FMADC
|
||||
if (!(PCDR & 0x0008))
|
||||
#else
|
||||
if (!(PBDR & 0x0100))
|
||||
#endif
|
||||
rolo_load("/ajbrec.ajz");
|
||||
system_reboot();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue