Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
IVECO_NS216
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时昊
IVECO_NS216
Commits
d5a7c69b
Commit
d5a7c69b
authored
Jul 02, 2025
by
李向行
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改多包信息最长的数据长度,修改DtcDefine大小以及Data大小
parent
ddbc985d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CAN_1939.h
source/Appliciation/CAN_App/CAN_1939.h
+3
-3
No files found.
source/Appliciation/CAN_App/CAN_1939.h
View file @
d5a7c69b
...
...
@@ -12,7 +12,7 @@ typedef unsigned int CAN_1939_uint32_t;
typedef
unsigned
long
long
CAN_1939_uint64_t
;
#endif
/*每个多包信息最长的数据长度*/
#define CAN1939_MESSAGE_LEN 2
55
UL
/*需要根据实际项目需求进行相关调整*/
#define CAN1939_MESSAGE_LEN 2
10
UL
/*需要根据实际项目需求进行相关调整*/
typedef
union
{
CAN_1939_uint8_t
data
[
4
];
struct
...
...
@@ -26,8 +26,8 @@ typedef union {
}
BIT
;
}
DTC_1939
;
typedef
union
{
DTC_1939
DtcDefine
[
10
];
/*需要根据实际项目需求进行相关调整*/
CAN_1939_uint8_t
Data
[
40
];
/*需要根据实际项目需求进行相关调整*/
DTC_1939
DtcDefine
[
52
];
/*需要根据实际项目需求进行相关调整*/
CAN_1939_uint8_t
Data
[
52
*
4
];
/*需要根据实际项目需求进行相关调整*/
}
DtcData_un_t
;
typedef
struct
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment