From e2ab38e43b3adccf68139635647ed2fdfe841c27 Mon Sep 17 00:00:00 2001 From: ZYH Date: Wed, 20 Mar 2019 12:28:31 +0800 Subject: [PATCH] [BSP][k210]fix gpio build error --- bsp/k210/driver/drv_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/k210/driver/drv_gpio.c b/bsp/k210/driver/drv_gpio.c index 376fa3e1b1..25ee6f68b0 100644 --- a/bsp/k210/driver/drv_gpio.c +++ b/bsp/k210/driver/drv_gpio.c @@ -139,7 +139,7 @@ static void pin_irq(int vector, void *param) set_gpio_bit(gpiohs->fall_ie.u32, pin_channel, 1); } - if(irq_table[pin_channel 2019-03-18 ZYH first version].edge & GPIO_PE_RISING) + if(irq_table[pin_channel].edge & GPIO_PE_RISING) { set_gpio_bit(gpiohs->rise_ie.u32, pin_channel, 0); set_gpio_bit(gpiohs->rise_ip.u32, pin_channel, 1);