浏览代码

[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