diff --git a/source/arm11/hardware/interrupt.c b/source/arm11/hardware/interrupt.c index 844009a..3a21074 100644 --- a/source/arm11/hardware/interrupt.c +++ b/source/arm11/hardware/interrupt.c @@ -133,7 +133,7 @@ const u32 cpuId = getCpuId(); if(!cpuMask) cpuMask = 1u<>5] = 1u<<(id % 32); @@ -172,7 +172,7 @@ void IRQ_setPriority(Interrupt id, u8 prio) { - u32 oldState = enterCriticalSection(); + const u32 oldState = enterCriticalSection(); u32 shift = (id % 4 * 8) + 4; u32 tmp = REGs_GID_IPRIO[id>>2] & ~(0xFu<