summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorAubr.Cool <[email protected]>2015-05-14 15:44:06 +0800
committerAubr.Cool <[email protected]>2015-05-14 16:52:48 +0800
commiteb56b832ef2528c9b9dd48c8df98c5311ac42daa (patch)
tree8bf0bd8defc1522beafb8212df4ce0d7fc21d457 /components/drivers/include/rtdevice.h
parent2f5c5b676ddd1db13d2b850e39b6fbfb000f907e (diff)
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