summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/ata_sd_as3525.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c
index d7989db073..8ec90c5ced 100644
--- a/firmware/target/arm/as3525/ata_sd_as3525.c
+++ b/firmware/target/arm/as3525/ata_sd_as3525.c
@@ -441,7 +441,7 @@ static void init_pl180_controller(const int drive)
441 /* setup isr for microsd monitoring */ 441 /* setup isr for microsd monitoring */
442 VIC_INT_ENABLE |= (INTERRUPT_GPIOA); 442 VIC_INT_ENABLE |= (INTERRUPT_GPIOA);
443 /* clear previous irq */ 443 /* clear previous irq */
444 GPIOA_IC |= (1<<2); 444 GPIOA_IC = (1<<2);
445 /* enable edge detecting */ 445 /* enable edge detecting */
446 GPIOA_IS &= ~(1<<2); 446 GPIOA_IS &= ~(1<<2);
447 /* detect both raising and falling edges */ 447 /* detect both raising and falling edges */