Explorar el Código

add rtthread.h include for can.h

Aubr.Cool hace 10 años
padre
commit
67b6b30e88
Se han modificado 1 ficheros con 2 adiciones y 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_
 #define CAN_H_
 
+#include <rtthread.h>
+
 #ifndef RT_CANMSG_BOX_SZ
 #define RT_CANMSG_BOX_SZ 16
 #endif