Skip to content

Commit b7c901c

Browse files
committed
Bug fix of initial value of interrupt edge in "gpio_irq_init" function.
Renesas modified the initial value of interrupt edge in "gpio_irq_init" function. The value was "both egde(rise and fall)".So we modified it to "low revel".
1 parent aeabcc9 commit b7c901c

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)