4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-27 23:47:05 +08:00

[BSP][k210]fix gpio build error

This commit is contained in:
ZYH 2019-03-20 12:28:31 +08:00
parent 8c12df986d
commit e2ab38e43b

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