summaryrefslogtreecommitdiffstats
path: root/firmware/panic.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2006-06-08 22:08:24 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2006-06-08 22:08:24 +0000
commit4ba0a33204b0667933d99c48280272c24e1bfce4 (patch)
tree79a7b424c61f782c307a9bf733bbda1d2d7e05c8 /firmware/panic.c
parent9931cbd82185d0d7ebb73796cea3094507d2ae00 (diff)
downloadrockbox-4ba0a33204b0667933d99c48280272c24e1bfce4.tar.gz
rockbox-4ba0a33204b0667933d99c48280272c24e1bfce4.tar.bz2
rockbox-4ba0a33204b0667933d99c48280272c24e1bfce4.zip
Let panicf() also check on/play button on h300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10094 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 07b7a5f4de..dc9876e272 100644
--- a/firmware/panic.c
+++ b/firmware/panic.c
@@ -100,6 +100,8 @@ void panicf( const char *fmt, ...)
/* try to restart firmware if ON is pressed */
#ifdef IRIVER_H100_SERIES
if ((GPIO1_READ & 0x22) == 0) /* check for ON button and !hold */
+#elif IRIVER_H300_SERIES
+ if ((GPIO1_READ & 0x22) == 0) /* check for ON button and !hold */
#elif CONFIG_CPU == SH7034
#if CONFIG_KEYPAD == PLAYER_PAD
if (!(PADRL & 0x20))