diff options
Diffstat (limited to 'firmware/panic.c')
-rw-r--r-- | firmware/panic.c | 2 |
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, ...) | |||
100 | /* try to restart firmware if ON is pressed */ | 100 | /* try to restart firmware if ON is pressed */ |
101 | #ifdef IRIVER_H100_SERIES | 101 | #ifdef IRIVER_H100_SERIES |
102 | if ((GPIO1_READ & 0x22) == 0) /* check for ON button and !hold */ | 102 | if ((GPIO1_READ & 0x22) == 0) /* check for ON button and !hold */ |
103 | #elif IRIVER_H300_SERIES | ||
104 | if ((GPIO1_READ & 0x22) == 0) /* check for ON button and !hold */ | ||
103 | #elif CONFIG_CPU == SH7034 | 105 | #elif CONFIG_CPU == SH7034 |
104 | #if CONFIG_KEYPAD == PLAYER_PAD | 106 | #if CONFIG_KEYPAD == PLAYER_PAD |
105 | if (!(PADRL & 0x20)) | 107 | if (!(PADRL & 0x20)) |