diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h index 83a6e8497a..4564491003 100644 --- a/components/drivers/include/rtdevice.h +++ b/components/drivers/include/rtdevice.h @@ -374,6 +374,10 @@ rt_inline void rt_work_init(struct rt_work* work, void (*work_func)(struct rt_wo #include "drivers/hwtimer.h" #endif +#ifdef RT_USING_AUDIO +#include "drivers/audio.h" +#endif + #ifdef __cplusplus } #endif