summaryrefslogtreecommitdiff
path: root/firmware/target/arm/system-pp502x.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/system-pp502x.c')
-rw-r--r--firmware/target/arm/system-pp502x.c8
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);
34extern void TIMER2(void); 34extern void TIMER2(void);
35extern void ipod_mini_button_int(void); /* iPod Mini 1st gen only */ 35extern void ipod_mini_button_int(void); /* iPod Mini 1st gen only */
36extern void ipod_4g_button_int(void); /* iPod 4th gen and higher only */ 36extern void ipod_4g_button_int(void); /* iPod 4th gen and higher only */
37#ifdef MROBE_100
38extern void button_int(void);
39#endif
40 37
41void irq(void) 38void 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) {