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
f722428a
Commit
f722428a
authored
May 16, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:43043,更改数字显示残缺,跳变
parent
17f2d17f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
SEG_DISPLAY.c
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
+3
-1
No files found.
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
View file @
f722428a
...
...
@@ -2804,6 +2804,7 @@ void Check_SEG_Display(void)
SEG_SET_ODO_TRIP_FAULTCODE_TCS_DIS
(
1
,
((
a
*
11111
)
+
100000
),
0
);
SEG_SET_VSpeed_NUM
(
1u
,
(
100u
+
(
a
*
10u
)
+
a
),
0
);
SEG_SET_Clock
(((
a
*
10u
)
+
a
),
((
a
*
10u
)
+
a
),
1u
,
1u
,
1u
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_07_Screen_Time
,
LED_ON
);
SEG_SET_TPMS_NUM
(
1
,
a
*
11
,
a
*
11
,
0
,
1
,
1
);
SEG_SET_Voltage_NUM
(
1
,
a
*
111
);
...
...
@@ -2865,6 +2866,7 @@ void Checkself_SEG_Display(void)
hour
=
(
Checkself_SEG_step
/
3
)
*
11
;
min
=
(
Checkself_SEG_step
/
3
)
*
11
;
SEG_SET_Clock
(
hour
,
min
,
1
,
1
,
1
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_07_Screen_Time
,
LED_ON
);
TPMS
=
(
Checkself_SEG_step
/
3
)
*
11
;
SEG_SET_TPMS_NUM
(
1
,
TPMS
,
TPMS
,
0
,
1
,
1
);
...
...
@@ -2881,7 +2883,7 @@ void Checkself_SEG_Display(void)
Checkself_SEG_step_count
=
60
;
}
if
(
Checkself_SEG_step_count
<=
30
)
if
(
Checkself_SEG_step_count
<=
29
)
{
Checkself_SEG_step
++
;
}
...
...
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