diff --git a/include/rthw.h b/include/rthw.h index 1c663ced67..2d5bbd09e2 100644 --- a/include/rthw.h +++ b/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