STM32, serial driver: add support for STM32F101C4, i.e. only 2 serials instead of 3
[bertos.git] / bertos / cpu / power.h
index 4e88def111bf414471cdd43adb66aefb76b5d958..f161c698f40ebf14f261d4b77323138e45f98cfb 100644 (file)
@@ -68,6 +68,7 @@
  */
 INLINE void cpu_relax(void)
 {
+       MEMORY_BARRIER;
 #if CONFIG_KERN
        if (proc_preemptAllowed())
                proc_yield();