summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/idle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/idle.c b/core/idle.c
index 7f76a14c..16d10d58 100644
--- a/core/idle.c
+++ b/core/idle.c
@@ -43,6 +43,7 @@ __export void __idle(void)
if (idle_hook_func && idle_hook_func())
return; /* Nonzero return = do not idle */
+ sti();
if (NoHalt)
cpu_relax();
else