Преглед на файлове

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