diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h index 83a6e8497a3502ab61360482f34af8dbcd1aa42b..4564491003f5fc0cc0147c9f9f861a1bbb45f95d 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