提交 e4e88b2f 编写于 作者: mysterywolf's avatar mysterywolf 提交者: mysterywolf

[error code][RT_EOK] fix RT_EOK with -

上级 991a2f1e
......@@ -229,7 +229,7 @@ static rt_err_t hk32_pin_attach_irq(struct rt_device *device, rt_int32_t pin,
pin_irq_hdr_tab[irqindex].args == args)
{
rt_hw_interrupt_enable(level);
return -RT_EOK;
return RT_EOK;
}
if (pin_irq_hdr_tab[irqindex].pin != -1)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册