diff options
Diffstat (limited to 'firmware/target/arm/system-pp502x.c')
-rw-r--r-- | firmware/target/arm/system-pp502x.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index 0f336576d8..d683b3a561 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c | |||
@@ -34,9 +34,6 @@ extern void TIMER1(void); | |||
34 | extern void TIMER2(void); | 34 | extern void TIMER2(void); |
35 | extern void ipod_mini_button_int(void); /* iPod Mini 1st gen only */ | 35 | extern void ipod_mini_button_int(void); /* iPod Mini 1st gen only */ |
36 | extern void ipod_4g_button_int(void); /* iPod 4th gen and higher only */ | 36 | extern void ipod_4g_button_int(void); /* iPod 4th gen and higher only */ |
37 | #ifdef MROBE_100 | ||
38 | extern void button_int(void); | ||
39 | #endif | ||
40 | 37 | ||
41 | void irq(void) | 38 | void irq(void) |
42 | { | 39 | { |
@@ -75,6 +72,11 @@ void irq(void) | |||
75 | if (GPIOD_INT_STAT & 0x2) | 72 | if (GPIOD_INT_STAT & 0x2) |
76 | button_int(); | 73 | button_int(); |
77 | } | 74 | } |
75 | #elif defined(PHILIPS_HDD1630) | ||
76 | else if (CPU_HI_INT_STAT & GPIO0_MASK) { | ||
77 | if (GPIOA_INT_STAT & 0x20) | ||
78 | button_int(); | ||
79 | } | ||
78 | #endif | 80 | #endif |
79 | #ifdef HAVE_USBSTACK | 81 | #ifdef HAVE_USBSTACK |
80 | else if (CPU_INT_STAT & USB_MASK) { | 82 | else if (CPU_INT_STAT & USB_MASK) { |