diff options
Diffstat (limited to 'firmware')
-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 2a78ff5eff..2132402254 100644 --- a/firmware/panic.c +++ b/firmware/panic.c | |||
@@ -95,6 +95,7 @@ void panicf( const char *fmt, ...) | |||
95 | 95 | ||
96 | for (i = 0; i < 240000; ++i); | 96 | for (i = 0; i < 240000; ++i); |
97 | #endif | 97 | #endif |
98 | #ifndef SIMULATOR | ||
98 | #ifdef IRIVER_H100_SERIES | 99 | #ifdef IRIVER_H100_SERIES |
99 | /* check for the ON button (and !hold) */ | 100 | /* check for the ON button (and !hold) */ |
100 | if ((GPIO1_READ & 0x22) == 0) | 101 | if ((GPIO1_READ & 0x22) == 0) |
@@ -112,5 +113,6 @@ void panicf( const char *fmt, ...) | |||
112 | #endif | 113 | #endif |
113 | system_reboot(); | 114 | system_reboot(); |
114 | #endif | 115 | #endif |
116 | #endif | ||
115 | } | 117 | } |
116 | } | 118 | } |