summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-09-09 22:30:45 +0800
committerBernard Xiong <[email protected]>2015-09-09 22:30:45 +0800
commit342e8d688dfb355a64f6fe95424c30d370a7ccd5 (patch)
tree929db08ebc07c51e24bfee0cf61619ae15f2a2c6 /components/drivers/include/rtdevice.h
parentf43a861e4c39aa4edad1df30fe9f5307dcd97372 (diff)
parent984a7ba05128992d8b89fc689f5f5e4f135e2f1b (diff)
Merge pull request #546 from heyuanjie87/ForPullRequest
[DeviceDrivers] Add hardware timer framework
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-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 f4d967831c..475adebf80 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -370,6 +370,10 @@ rt_inline void rt_work_init(struct rt_work* work, void (*work_func)(struct rt_wo
#include "drivers/can.h"
#endif
+#ifdef RT_USING_HWTIMER
+#include "drivers/hwtimer.h"
+#endif
+
#ifdef __cplusplus
}
#endif