Parcourir la source

add rtthread.h include for can.h

Aubr.Cool il y a 10 ans
Parent
commit
67b6b30e88
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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