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
1bc9e3b9
Commit
1bc9e3b9
authored
May 16, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:trip显示,个位0不隐藏
parent
566f9f36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
SEG_DISPLAY.c
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
+7
-7
No files found.
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
View file @
1bc9e3b9
...
@@ -2214,14 +2214,14 @@ void SEG_SET_ODO_TRIP_FAULTCODE_TCS_DIS(uint8_t m_Uint, uint32_t m_NUM_ODO, uint
...
@@ -2214,14 +2214,14 @@ void SEG_SET_ODO_TRIP_FAULTCODE_TCS_DIS(uint8_t m_Uint, uint32_t m_NUM_ODO, uint
IC1_SEG055
=
IC_SEG_OFF
;
IC1_SEG055
=
IC_SEG_OFF
;
}
}
Num
=
(
m_NUM_TRIP
/
10
)
%
10
;
Num
=
(
m_NUM_TRIP
/
10
)
%
10
;
if
((
m_NUM_TRIP
>=
100
)
||
(
m_NUM_TRIP
==
0
))
//
if ((m_NUM_TRIP >= 100) || (m_NUM_TRIP == 0))
{
//
{
m8
=
SEG_DISPLAY_NUMBER0
[
Num
];
m8
=
SEG_DISPLAY_NUMBER0
[
Num
];
}
//
}
else
//
else
{
//
{
m8
=
SEG_UNDISPLAY_NUMBER0
[
Num
];
//
m8 = SEG_UNDISPLAY_NUMBER0[Num];
}
//
}
if
(
Bit_Is_Set
(
m8
,
0
))
if
(
Bit_Is_Set
(
m8
,
0
))
{
{
IC1_SEG050
=
IC_SEG_ON
;
IC1_SEG050
=
IC_SEG_ON
;
...
...
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