Explorar o código

add rtthread.h include for can.h

Aubr.Cool %!s(int64=10) %!d(string=hai) anos
pai
achega
67b6b30e88
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      components/drivers/include/drivers/can.h

+ 2 - 0
components/drivers/include/drivers/can.h

@@ -14,6 +14,8 @@
 #ifndef CAN_H_
 #ifndef CAN_H_
 #define CAN_H_
 #define CAN_H_
 
 
+#include <rtthread.h>
+
 #ifndef RT_CANMSG_BOX_SZ
 #ifndef RT_CANMSG_BOX_SZ
 #define RT_CANMSG_BOX_SZ 16
 #define RT_CANMSG_BOX_SZ 16
 #endif
 #endif