rm48x50: fix bug in rt_hw_interrupt_{mask,unmask}
This commit is contained in:
parent
9237433030
commit
810311b624
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue