From ada2c7a3f547d8aba632a89df036fbd21d632d14 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Tue, 5 Apr 2016 11:02:04 +0800 Subject: [PATCH] [DeviceDrivers] Add audio header file. --- components/drivers/include/rtdevice.h | 4 ++++ 1 file changed, 4 insertions(+) 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