summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-09-06 20:22:34 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-09-06 20:22:34 +0000
commit835012fa35295f09a417582c7f76e0c0d32d8bae (patch)
tree54478e59b7c17d363626c87e60ff78798b55f3fb /firmware
parentb2964cad0ce00498ec4567eaae7c3db4da7ecbed (diff)
downloadrockbox-835012fa35295f09a417582c7f76e0c0d32d8bae.tar.gz
rockbox-835012fa35295f09a417582c7f76e0c0d32d8bae.tar.bz2
rockbox-835012fa35295f09a417582c7f76e0c0d32d8bae.zip
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
Diffstat (limited to 'firmware')
-rw-r--r--firmware/system.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/system.c b/firmware/system.c
index dd356bab1f..e6ea543069 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -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
}
}