diff --git a/firmware.bin b/firmware.bin index 7332e52..0a2791a 100644 Binary files a/firmware.bin and b/firmware.bin differ diff --git a/firmware.packed.bin b/firmware.packed.bin index c48c8e3..c575f2f 100644 Binary files a/firmware.packed.bin and b/firmware.packed.bin differ diff --git a/main.c b/main.c index 5660593..d5d15cc 100644 --- a/main.c +++ b/main.c @@ -242,14 +242,16 @@ void Main(void) while (1) { - // Mask interrupts - __asm volatile ("cpsid i"); - if (!g_next_time_slice) - // Idle condition, hint the MCU to sleep - // CMSIS suggests GCC reorders memory and is undesirable - __asm volatile ("wfi":::"memory"); - // Unmask interrupts - __asm volatile ("cpsie i"); + #if 0 + // Mask interrupts + __asm volatile ("cpsid i"); + if (!g_next_time_slice) + // Idle condition, hint the MCU to sleep + // CMSIS suggests GCC reorders memory and is undesirable + __asm volatile ("wfi":::"memory"); + // Unmask interrupts + __asm volatile ("cpsie i"); + #endif APP_process();