Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
VC66_7C
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
ISUZU
VC66_7C
Commits
81dc56cd
Commit
81dc56cd
authored
Mar 17, 2023
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加多帧数据最大长度限制
parent
63027966
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
6 deletions
+24
-6
CAN_FUNC.c
source/Application/CAN_APP_NM/CAN_App/CAN_FUNC.c
+24
-6
No files found.
source/Application/CAN_APP_NM/CAN_App/CAN_FUNC.c
View file @
81dc56cd
...
...
@@ -2161,7 +2161,10 @@ void DoCAN_Get_Multi_frame00_Recv(void)
{
for
(
i
=
1
;
i
<
8
;
i
++
)
{
ECM18EBFF00
.
DataDTC
.
UnionDTC
[
ECM18EBFF00
.
bCtrByte
++
]
=
Get_ID_18EBFF00_Sig_DATA
(
i
);
if
(
ECM18EBFF00
.
bCtrByte
<
MAX_MULCANDATALEN
)
{
ECM18EBFF00
.
DataDTC
.
UnionDTC
[
ECM18EBFF00
.
bCtrByte
++
]
=
Get_ID_18EBFF00_Sig_DATA
(
i
);
}
}
ECM18EBFF00
.
bPrePckNum
++
;
ECM18EBFF00
.
bRcvBusy
=
1
;
/*正在接收*/
...
...
@@ -2217,7 +2220,10 @@ void DoCAN_Get_Multi_frame03_Recv(void)
{
for
(
i
=
1
;
i
<
8
;
i
++
)
{
ECM18EBFF03
.
DataDTC
.
UnionDTC
[
ECM18EBFF03
.
bCtrByte
++
]
=
Get_ID_18EBFF03_Sig_DATA
(
i
);
if
(
ECM18EBFF03
.
bCtrByte
<
MAX_MULCANDATALEN
)
{
ECM18EBFF03
.
DataDTC
.
UnionDTC
[
ECM18EBFF03
.
bCtrByte
++
]
=
Get_ID_18EBFF03_Sig_DATA
(
i
);
}
}
ECM18EBFF03
.
bPrePckNum
++
;
ECM18EBFF03
.
bRcvBusy
=
1
;
/*正在接收*/
...
...
@@ -2273,7 +2279,10 @@ void DoCAN_Get_Multi_frame0B_Recv(void)
{
for
(
i
=
1
;
i
<
8
;
i
++
)
{
ECM18EBFF0B
.
DataDTC
.
UnionDTC
[
ECM18EBFF0B
.
bCtrByte
++
]
=
Get_ID_18EBFF0B_Sig_DATA
(
i
);
if
(
ECM18EBFF0B
.
bCtrByte
<
MAX_MULCANDATALEN
)
{
ECM18EBFF0B
.
DataDTC
.
UnionDTC
[
ECM18EBFF0B
.
bCtrByte
++
]
=
Get_ID_18EBFF0B_Sig_DATA
(
i
);
}
}
ECM18EBFF0B
.
bPrePckNum
++
;
ECM18EBFF0B
.
bRcvBusy
=
1
;
/*正在接收*/
...
...
@@ -2327,7 +2336,10 @@ void DoCAN_Get_Multi_frame10_Recv(void)
{
for
(
i
=
1
;
i
<
8
;
i
++
)
{
ECM18EBFF10
.
DataDTC
.
UnionDTC
[
ECM18EBFF10
.
bCtrByte
++
]
=
Get_ID_18EBFF10_Sig_DATA
(
i
);
if
(
ECM18EBFF10
.
bCtrByte
<
MAX_MULCANDATALEN
)
{
ECM18EBFF10
.
DataDTC
.
UnionDTC
[
ECM18EBFF10
.
bCtrByte
++
]
=
Get_ID_18EBFF10_Sig_DATA
(
i
);
}
}
ECM18EBFF10
.
bPrePckNum
++
;
ECM18EBFF10
.
bRcvBusy
=
1
;
/*正在接收*/
...
...
@@ -2381,7 +2393,10 @@ void DoCAN_Get_Multi_frameA0_Recv(void)
{
for
(
i
=
1
;
i
<
8
;
i
++
)
{
ECM18EBFFA0
.
DataDTC
.
UnionDTC
[
ECM18EBFFA0
.
bCtrByte
++
]
=
Get_ID_18EBFFA0_Sig_DATA
(
i
);
if
(
ECM18EBFFA0
.
bCtrByte
<
MAX_MULCANDATALEN
)
{
ECM18EBFFA0
.
DataDTC
.
UnionDTC
[
ECM18EBFFA0
.
bCtrByte
++
]
=
Get_ID_18EBFFA0_Sig_DATA
(
i
);
}
}
ECM18EBFFA0
.
bPrePckNum
++
;
ECM18EBFFA0
.
bRcvBusy
=
1
;
/*正在接收*/
...
...
@@ -2435,7 +2450,10 @@ void DoCAN_Get_Multi_frameE8_Recv(void)
{
for
(
i
=
1
;
i
<
8
;
i
++
)
{
ECM18EBFFE8
.
DataDTC
.
UnionDTC
[
ECM18EBFFE8
.
bCtrByte
++
]
=
Get_ID_18EBFFE8_Sig_DATA
(
i
);
if
(
ECM18EBFFE8
.
bCtrByte
<
MAX_MULCANDATALEN
)
{
ECM18EBFFE8
.
DataDTC
.
UnionDTC
[
ECM18EBFFE8
.
bCtrByte
++
]
=
Get_ID_18EBFFE8_Sig_DATA
(
i
);
}
}
ECM18EBFFE8
.
bPrePckNum
++
;
ECM18EBFFE8
.
bRcvBusy
=
1
;
/*正在接收*/
...
...
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