forked from len0rd/rockbox
avoid using #if on undefined symbols, in preparation for -Wundef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12357 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ab0752c9c0
commit
64a0fb8fd9
4 changed files with 9 additions and 3 deletions
|
@ -102,7 +102,7 @@ void panicf( const char *fmt, ...)
|
|||
/* try to restart firmware if ON is pressed */
|
||||
#ifdef IRIVER_H100_SERIES
|
||||
if ((GPIO1_READ & 0x22) == 0) /* check for ON button and !hold */
|
||||
#elif IRIVER_H300_SERIES
|
||||
#elif defined(IRIVER_H300_SERIES)
|
||||
if ((GPIO1_READ & 0x22) == 0) /* check for ON button and !hold */
|
||||
#elif CONFIG_CPU == SH7034
|
||||
#if CONFIG_KEYPAD == PLAYER_PAD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue