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) @@ -111,6 +112,7 @@ void panicf( const char *fmt, ...) #endif #endif system_reboot(); +#endif #endif } }