Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
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
TY
TianYing_ty100
Commits
e1a42c4d
Commit
e1a42c4d
authored
May 29, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:43276 解决故障码显示先显示P0000再显示正确故障码的问题
parent
9af842f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SEG_DISPLAY.c
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
+2
-2
No files found.
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
View file @
e1a42c4d
...
...
@@ -3118,7 +3118,7 @@ void SEG_SET_ODO_TRIP_FAULTCODE_TCS_DIS(uint8_t m_Uint, uint32_t m_NUM_ODO, uint
IC1_SEG074
=
IC_SEG_ON
;
IC1_SEG073
=
IC_SEG_ON
;
IC1_SEG069
=
IC_SEG_ON
;
if
(
FaultCode_Number
==
0
)
if
(
(
FaultCode_Number
==
0
)
&&
(
FaultCode_Data
[
0
]
==
0
)
)
{
SEG_SET_DTC_NUM
(
0
);
DTC_DISTimer
=
0
;
...
...
@@ -3149,7 +3149,7 @@ void SEG_SET_ODO_TRIP_FAULTCODE_TCS_DIS(uint8_t m_Uint, uint32_t m_NUM_ODO, uint
}
Current_DTC_CODE
=
FaultCode_Data
[
DTC_DISCount
]
;
DTC_DISTimer
=
0
;
if
(
Current_DTC_CODE
==
Current_DTC_CODE_BACK
)
if
(
(
Current_DTC_CODE
==
Current_DTC_CODE_BACK
)
&&
(
DTC_DISCount
<
(
FaultCode_Number
-
1
))
)
{
DTC_DISCount
++
;
Current_DTC_CODE
=
FaultCode_Data
[
DTC_DISCount
]
;
...
...
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