diff options
Diffstat (limited to 'firmware/target/arm/ipod/button-mini1g.c')
-rw-r--r-- | firmware/target/arm/ipod/button-mini1g.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/ipod/button-mini1g.c b/firmware/target/arm/ipod/button-mini1g.c index 242f06c071..f02e6acaac 100644 --- a/firmware/target/arm/ipod/button-mini1g.c +++ b/firmware/target/arm/ipod/button-mini1g.c @@ -164,10 +164,10 @@ static int ipod_mini_button_read(void) void ipod_mini_button_int(void) { - CPU_HI_INT_CLR = GPIO_MASK; + CPU_HI_INT_CLR = GPIO0_MASK; int_btn = ipod_mini_button_read(); //CPU_INT_EN = 0x40000000; - CPU_HI_INT_EN = GPIO_MASK; + CPU_HI_INT_EN = GPIO0_MASK; } void button_init_device(void) @@ -190,7 +190,7 @@ void button_init_device(void) GPIOB_INT_EN = 0x30; /* unmask interrupt */ CPU_INT_EN = 0x40000000; - CPU_HI_INT_EN = GPIO_MASK; + CPU_HI_INT_EN = GPIO0_MASK; } /* |