Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
WZ-EF01
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
WZ
WZ-EF01
Commits
e3e16430
Commit
e3e16430
authored
Mar 07, 2024
by
李秉薇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:39979
parent
d51bb031
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
UDS_ISO14229_Services.c
code/Sources/Diagnostic/src/UDS_ISO14229_Services.c
+3
-3
No files found.
code/Sources/Diagnostic/src/UDS_ISO14229_Services.c
View file @
e3e16430
...
...
@@ -1298,7 +1298,7 @@ void UDS_Service_27_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t
//请求次数+1
//将27服务状态写入flash
//错误密钥达到最大次数,返回36负反馈
if
(
diag27
.
RequestSeedCnt
>
2
)
//错误超过二次,需要等待10秒
if
(
diag27
.
RequestSeedCnt
>
=
2
)
//错误超过二次,需要等待10秒
{
//将请求标志位清空
Services27_01_Requested
=
0
;
...
...
@@ -1370,7 +1370,7 @@ void UDS_Service_27_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t
//将27服务状态写入flash
Write_27_DATA_TO_FLASH
();
//尝试次数超过设定值,开启10s定时器尝试次数减1,返回36负反馈
if
(
diag27
.
attemptcnt
>=
2
)
if
(
diag27
.
attemptcnt
>=
1
)
{
Wait10sFlag
=
1
;
//10秒计时器打开
wait10cnt
=
0
;
...
...
@@ -1416,7 +1416,7 @@ void UDS_Service_27_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t
//将27服务状态写入flash
Write_27_DATA_TO_FLASH
();
//尝试次数超过设定值,开启10s定时器尝试次数减1,返回36负反馈
if
(
diag27
.
attemptcnt
>=
2
)
if
(
diag27
.
attemptcnt
>=
1
)
{
Wait10sFlag
=
1
;
//10秒计时器打开
wait10cnt
=
0
;
...
...
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