Commit ddbc985d authored by 李向行's avatar 李向行

🐞 fix:修改多包信息最长的数据长度

parent e22ee329
...@@ -12,7 +12,7 @@ typedef unsigned int CAN_1939_uint32_t; ...@@ -12,7 +12,7 @@ typedef unsigned int CAN_1939_uint32_t;
typedef unsigned long long CAN_1939_uint64_t; typedef unsigned long long CAN_1939_uint64_t;
#endif #endif
/*每个多包信息最长的数据长度*/ /*每个多包信息最长的数据长度*/
#define CAN1939_MESSAGE_LEN 42UL /*需要根据实际项目需求进行相关调整*/ #define CAN1939_MESSAGE_LEN 255UL /*需要根据实际项目需求进行相关调整*/
typedef union { typedef union {
CAN_1939_uint8_t data[4]; CAN_1939_uint8_t data[4];
struct struct
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment