Skip to content

Commit d1866f2

Browse files
committed
Bug fix of initial value of interrupt edge in "gpio_irq_init" again
I modified the bug in PR #3289. But It seems not enough the changes. For the reason, It occured the following issue. #3694 So I reviewed and re-modified about the setting of initial value of interrupt edge in "gpio_irq_init".
1 parent 7fc73e4 commit d1866f2

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
@@ -166,7 +166,6 @@ int gpio_irq_init(gpio_irq_t *obj, PinName pin, gpio_irq_handler handler, uint32
166166
InterruptHandlerRegister((IRQn_Type)(nIRQn_h+obj->ch), (void (*)(uint32_t))irq_tbl[obj->ch]);
167167
INTCICR1 &= ~(0x3 << shift);
168168
GIC_SetPriority((IRQn_Type)(nIRQn_h+obj->ch), 5);
169-
GIC_EnableIRQ((IRQn_Type)(nIRQn_h+obj->ch));
170169
obj->int_enable = 1;
171170
__enable_irq();
172171

0 commit comments

Comments
 (0)