浏览代码

[DeviceDrivers] Add audio header file.

Bernard Xiong 9 年之前
父节点
当前提交
ada2c7a3f5
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      components/drivers/include/rtdevice.h

+ 4 - 0
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