summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorheyuanjie87 <[email protected]>2015-09-02 22:00:24 +0800
committerheyuanjie87 <[email protected]>2015-09-02 22:00:24 +0800
commitc84887d021bc0d66352ead42366bd45868e1e4df (patch)
tree08356eb9cdf06253f1ca7cf484a9c154197dc08b /components/drivers/include/rtdevice.h
parentcb51bdb245a4b8336533a01fdaaba017bf93b15a (diff)
加入定时器设备
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