mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #15236 from benpicco/cpu/cortexm_common_idle_flush
cpu/cortexm_common: flush pipeline before disabling interrupts in idle
This commit is contained in:
commit
652aac4e57
@ -510,5 +510,6 @@ void sched_arch_idle(void)
|
||||
/* Briefly re-enable IRQs to allow pending interrupts to be serviced and
|
||||
* have them update the runqueue */
|
||||
__enable_irq();
|
||||
__ISB();
|
||||
__disable_irq();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user