@@ -8,8 +8,11 @@
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
- * Date Author Notes
+ * Date Author Notes
+ * 2015-05-14 aubrcool@qq.com first version
*/
+
+#ifdef RT_USING_CAN
#include <board.h>
#include <rtthread.h>
#include <rtdevice.h>
@@ -139,3 +142,4 @@ int rt_can_app_init(void)
}
INIT_APP_EXPORT(rt_can_app_init);
+#endif /*RT_USING_CAN*/
@@ -8,7 +8,8 @@
#include <rthw.h>
@@ -9,6 +9,7 @@
* Date Author Notes
#ifndef BXCAN_H_
#ifndef CAN_H_
#define CAN_H_