1
0
Fork 0
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:
Linus Nielsen Feltzing 2005-09-06 20:22:34 +00:00
parent b2964cad0c
commit 835012fa35

View file

@ -891,14 +891,13 @@ void UIE (unsigned int pc) /* Unexpected Interrupt or Exception */
/* try to restart firmware if ON is pressed */ /* try to restart firmware if ON is pressed */
#if CONFIG_KEYPAD == PLAYER_PAD #if CONFIG_KEYPAD == PLAYER_PAD
if (!(PADR & 0x0020)) if (!(PADR & 0x0020))
rolo_load("/archos.mod");
#elif CONFIG_KEYPAD == RECORDER_PAD #elif CONFIG_KEYPAD == RECORDER_PAD
#ifdef HAVE_FMADC #ifdef HAVE_FMADC
if (!(PCDR & 0x0008)) if (!(PCDR & 0x0008))
#else #else
if (!(PBDR & 0x0100)) if (!(PBDR & 0x0100))
#endif #endif
rolo_load("/ajbrec.ajz"); system_reboot();
#endif #endif
} }
} }