summaryrefslogtreecommitdiffstats
path: root/firmware/panic.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-09-12 11:02:57 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-09-12 11:02:57 +0000
commit829f00e68872209a8dc7a8ac9148fd99e851ae72 (patch)
treefd80271bba8f7466ea6b1fcb0e79d04b099eb3bd /firmware/panic.c
parente6c6d22240696820643ca7c3561bb4172b5865f3 (diff)
downloadrockbox-829f00e68872209a8dc7a8ac9148fd99e851ae72.tar.gz
rockbox-829f00e68872209a8dc7a8ac9148fd99e851ae72.tar.bz2
rockbox-829f00e68872209a8dc7a8ac9148fd99e851ae72.zip
Fixed compiler error in the X11 iriver simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7511 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/panic.c')
-rw-r--r--firmware/panic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/panic.c b/firmware/panic.c
index 2a78ff5eff..2132402254 100644
--- a/firmware/panic.c
+++ b/firmware/panic.c
@@ -95,6 +95,7 @@ void panicf( const char *fmt, ...)
for (i = 0; i < 240000; ++i);
#endif
+#ifndef SIMULATOR
#ifdef IRIVER_H100_SERIES
/* check for the ON button (and !hold) */
if ((GPIO1_READ & 0x22) == 0)
@@ -112,5 +113,6 @@ void panicf( const char *fmt, ...)
#endif
system_reboot();
#endif
+#endif
}
}