summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorBernardXiong <[email protected]>2015-05-18 18:16:59 +0800
committerBernardXiong <[email protected]>2015-05-18 18:16:59 +0800
commit7d73fb8bdbca622142e9802dc7a9a495563638f0 (patch)
treeb9e96572c375829c2029ec6605e835b76569a5ad /components/drivers/include/rtdevice.h
parent8de629c0b0408e2bd45f985cbca58bb99cf2f1bf (diff)
parent0d1ee90f2815bded610dd96d9a07701b4f83a797 (diff)
Merge remote-tracking branch 'upstream/master'
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 5d74ed6199..f4d967831c 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -366,6 +366,10 @@ rt_inline void rt_work_init(struct rt_work* work, void (*work_func)(struct rt_wo
#include "drivers/pin.h"
#endif
+#ifdef RT_USING_CAN
+#include "drivers/can.h"
+#endif
+
#ifdef __cplusplus
}
#endif