Fixed compiler error in the X11 iriver simulator

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7511 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-09-12 11:02:57 +00:00
parent e6c6d22240
commit 829f00e688

View file

@ -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
}
}