summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2016-04-05 11:02:04 +0800
committerBernard Xiong <[email protected]>2016-04-05 11:02:04 +0800
commitada2c7a3f547d8aba632a89df036fbd21d632d14 (patch)
treec4aafb5bdfe7bb2cca0ccd03fb931b325f5727d4 /components/drivers
parent37480086512b2aa98c13db294e1adfb67d280dd0 (diff)
[DeviceDrivers] Add audio header file.
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/include/rtdevice.h4
1 files changed, 4 insertions, 0 deletions
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