diff options
Diffstat (limited to 'firmware/panic.c')
| -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 dca5114..fbb6afc 100644 --- a/firmware/panic.c +++ b/firmware/panic.c @@ -111,6 +111,8 @@ void panicf( const char *fmt, ...) if ((GPIO_READ & 0x0c000000) == 0x08000000) /* check for ON button and !hold */ #elif defined(IAUDIO_M3) if ((GPIO1_READ & 0x202) == 0x200) /* check for ON button and !hold */ +#elif defined(COWON_D2) + if (GPIOA & 0x10) /* check for power button */ #elif CONFIG_CPU == SH7034 #if CONFIG_KEYPAD == PLAYER_PAD if (!(PADRL & 0x20)) |