[BSP][k210]fix gpio build error

This commit is contained in:
ZYH 2019-03-20 12:28:31 +08:00
parent 8c12df986d
commit e2ab38e43b
1 changed files with 1 additions and 1 deletions

View File

@ -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);