From d1866f2a49d2ea7ab6df2149be8267c77207a5d2 Mon Sep 17 00:00:00 2001 From: TomoYamanaka Date: Mon, 20 Feb 2017 16:41:59 +0900 Subject: [PATCH] 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. https://github.com/ARMmbed/mbed-os/issues/3694 So I reviewed and re-modified about the setting of initial value of interrupt edge in "gpio_irq_init". --- targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_irq_api.c | 1 - 1 file changed, 1 deletion(-) diff --git a/targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_irq_api.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_irq_api.c index 71a9fe1cdbd..a4d780bff22 100644 --- a/targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_irq_api.c +++ b/targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_irq_api.c @@ -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();