Explorar el Código

[DeviceDrivers] Add audio header file.

Bernard Xiong hace 9 años
padre
commit
ada2c7a3f5
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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