Skip to content

Commit

Permalink
Bug fix of initial value of interrupt edge in "gpio_irq_init" again
Browse files Browse the repository at this point in the history
I modified the bug in PR ARMmbed#3289. But It seems not enough the changes.
For the reason, It occured the following issue.
ARMmbed#3694
So I reviewed and re-modified about the setting of initial value of interrupt edge in "gpio_irq_init".
  • Loading branch information
TomoYamanaka committed Feb 20, 2017
1 parent 7fc73e4 commit d1866f2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_irq_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ int gpio_irq_init(gpio_irq_t *obj, PinName pin, gpio_irq_handler handler, uint32
InterruptHandlerRegister((IRQn_Type)(nIRQn_h+obj->ch), (void (*)(uint32_t))irq_tbl[obj->ch]);
INTCICR1 &= ~(0x3 << shift);
GIC_SetPriority((IRQn_Type)(nIRQn_h+obj->ch), 5);
GIC_EnableIRQ((IRQn_Type)(nIRQn_h+obj->ch));
obj->int_enable = 1;
__enable_irq();

Expand Down

0 comments on commit d1866f2

Please sign in to comment.