فهرست منبع

style:将15765处理的can数据长度由64改为8
module:lib_iso15765
ticket_ID:lib_iso15765

yangyongkai 3 سال پیش
والد
کامیت
85ed0da23f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      BleCanBoxCode/STM32F103RCT6/Middle/iso15765-canbus-master/src/lib_iso15765.h

+ 1 - 1
BleCanBoxCode/STM32F103RCT6/Middle/iso15765-canbus-master/src/lib_iso15765.h

@@ -93,7 +93,7 @@ typedef struct
     uint32_t id_type;   /* CAN Frame Id Type `cbus_id_type` */
     uint16_t fr_format; /* CAN Frame Format `cbus_fr_format` */
     uint16_t dlc;       /* Size of data */
-    uint8_t dt[64];     /* Actual data of the frame */
+    uint8_t dt[8];     /* Actual data of the frame */
 } canbus_frame_t;
 #endif