提交 2edb385d 编写于 作者: N nongxiaoming

[bsp][stm32f40x] Fix the bug of gpio driver.

上级 51729e6a
......@@ -763,7 +763,7 @@ rt_err_t stm32_pin_irq_enable(struct rt_device *device, rt_base_t pin, rt_uint32
}
else if (enabled == PIN_IRQ_DISABLE)
{
irq = get_pin_irq(index->pin);
irq = get_pin_irq(pin);
if (irq == RT_NULL)
{
return -RT_ENOSYS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册