mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-28 02:47:06 +08:00
[error code][RT_EOK] fix RT_EOK with -
This commit is contained in:
parent
991a2f1e9e
commit
e4e88b2f3e
@ -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)
|
pin_irq_hdr_tab[irqindex].args == args)
|
||||||
{
|
{
|
||||||
rt_hw_interrupt_enable(level);
|
rt_hw_interrupt_enable(level);
|
||||||
return -RT_EOK;
|
return RT_EOK;
|
||||||
}
|
}
|
||||||
if (pin_irq_hdr_tab[irqindex].pin != -1)
|
if (pin_irq_hdr_tab[irqindex].pin != -1)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user