We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cbafc6 commit 0ec2ad5Copy full SHA for 0ec2ad5
arch/arm/core/cortex_m/cpu_idle.c
@@ -98,6 +98,9 @@ void arch_cpu_idle(void)
98
99
SLEEP_IF_ALLOWED(__WFI);
100
101
+#if defined(CONFIG_TRACING)
102
+ sys_trace_idle_exit();
103
+#endif
104
__enable_irq();
105
__ISB();
106
}
@@ -137,6 +140,10 @@ void arch_cpu_atomic_idle(unsigned int key)
137
140
138
141
SLEEP_IF_ALLOWED(__WFE);
139
142
143
144
145
146
+
147
arch_irq_unlock(key);
148
#if defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
149
0 commit comments