Skip to content

Commit f89bf84

Browse files
authored
Merge pull request #3289 from TomoYamanaka/master
Bug fix of initial value of interrupt edge in "gpio_irq_init" function.
2 parents a8ebfaa + b7c901c commit f89bf84

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_irq_api.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ int gpio_irq_init(gpio_irq_t *obj, PinName pin, gpio_irq_handler handler, uint32
165165
// INTC settings
166166
InterruptHandlerRegister((IRQn_Type)(nIRQn_h+obj->ch), (void (*)(uint32_t))irq_tbl[obj->ch]);
167167
INTCICR1 &= ~(0x3 << shift);
168-
INTCICR1 |= (0x3 << shift);
169168
GIC_SetPriority((IRQn_Type)(nIRQn_h+obj->ch), 5);
170169
GIC_EnableIRQ((IRQn_Type)(nIRQn_h+obj->ch));
171170
obj->int_enable = 1;

0 commit comments

Comments
 (0)