diff --git a/libcpu/arm/rm48x50/interrupt.c b/libcpu/arm/rm48x50/interrupt.c index f3b3708ffe..8d0a977db9 100644 --- a/libcpu/arm/rm48x50/interrupt.c +++ b/libcpu/arm/rm48x50/interrupt.c @@ -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); } /**