summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-05-15 17:47:25 +0800
committerBernard Xiong <[email protected]>2015-05-15 17:47:25 +0800
commit0d1ee90f2815bded610dd96d9a07701b4f83a797 (patch)
tree87415f2a488c880bc9d2d017612ae511e7229bef /components/drivers/include/rtdevice.h
parentbc63286652335bb3736db22262f7a2eaa204784b (diff)
parent9ea3219ab7ae71741b7158762ed9aeb26a8b069e (diff)
Merge pull request #479 from AubrCool/fix-can.drv
Add Can Drv
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