Преглед на файлове

[kernel] fix incorrect expression in macros (#8568)

Yuqiang Wang преди 1 година
родител
ревизия
7eccdb471e
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      include/rthw.h

+ 3 - 3
include/rthw.h

@@ -235,9 +235,9 @@ void rt_hw_secondary_cpu_idle_exec(void);
 #endif
 
 #ifndef RT_USING_CACHE
-#define rt_hw_isb(void)
-#define rt_hw_dmb(void)
-#define rt_hw_dsb(void)
+#define rt_hw_isb()
+#define rt_hw_dmb()
+#define rt_hw_dsb()
 #endif
 
 #ifdef __cplusplus