提交 810311b6 编写于 作者: G Grissiom

rm48x50: fix bug in rt_hw_interrupt_{mask,unmask}

上级 92374330
......@@ -68,12 +68,12 @@ void rt_hw_interrupt_init(void)
void rt_hw_interrupt_mask(int vector)
{
vimEnableInterrupt(vector, SYS_IRQ);
vimDisableInterrupt(vector);
}
void rt_hw_interrupt_umask(int vector)
{
vimDisableInterrupt(vector);
vimEnableInterrupt(vector, SYS_IRQ);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册