summaryrefslogtreecommitdiff
path: root/firmware/panic.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/panic.c')
-rw-r--r--firmware/panic.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/firmware/panic.c b/firmware/panic.c
index 58f6d1dcb5..0ac458953b 100644
--- a/firmware/panic.c
+++ b/firmware/panic.c
@@ -108,10 +108,12 @@ void panicf( const char *fmt, ...)
108 #define system_reboot() nop 108 #define system_reboot() nop
109#elif defined (TOSHIBA_GIGABEAT_F) 109#elif defined (TOSHIBA_GIGABEAT_F)
110 if ((GPGDAT & (1 << 0)) != 0) 110 if ((GPGDAT & (1 << 0)) != 0)
111#elif defined (IRIVER_H100_SERIES) 111#elif defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
112 if ((GPIO1_READ & 0x22) == 0) /* check for ON button and !hold */
113#elif defined(IRIVER_H300_SERIES)
114 if ((GPIO1_READ & 0x22) == 0) /* check for ON button and !hold */ 112 if ((GPIO1_READ & 0x22) == 0) /* check for ON button and !hold */
113#elif defined(IAUDIO_X5) || defined(IAUDIO_M5)
114 if ((GPIO_READ & 0x0c000000) == 0x08000000) /* check for ON button and !hold */
115#elif defined(IAUDIO_M3)
116 if ((GPIO1_READ & 0x202) == 0x200) /* check for ON button and !hold */
115#elif CONFIG_CPU == SH7034 117#elif CONFIG_CPU == SH7034
116#if CONFIG_KEYPAD == PLAYER_PAD 118#if CONFIG_KEYPAD == PLAYER_PAD
117 if (!(PADRL & 0x20)) 119 if (!(PADRL & 0x20))