Browse Source

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

Yuqiang Wang 1 year ago
parent
commit
7eccdb471e
1 changed files with 3 additions and 3 deletions
  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