rm48x50: fix bug in rt_hw_interrupt_{mask,unmask}

This commit is contained in:
Grissiom 2013-05-29 23:36:32 +08:00
parent 9237433030
commit 810311b624
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
/**