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:
parent
e6c6d22240
commit
829f00e688
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue