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
9d5b7caf
Commit
9d5b7caf
authored
Aug 17, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:解决上电自检看不到数字0的问题
parent
787e1778
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
18 deletions
+22
-18
GUI_Display.c
Firmware/Source/Application/GUI_Display/GUI_Display.c
+1
-1
SEG_DISPLAY.c
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
+21
-17
No files found.
Firmware/Source/Application/GUI_Display/GUI_Display.c
View file @
9d5b7caf
...
@@ -104,7 +104,7 @@ void Gauge_Service(void)
...
@@ -104,7 +104,7 @@ void Gauge_Service(void)
{
{
if
(
Common_Get_IG_Sts
(
)
==
COMMON_POWER_ON
)
if
(
Common_Get_IG_Sts
(
)
==
COMMON_POWER_ON
)
{
{
if
(
Common_GetIgnOnTime
()
>=
30
0
0
)
if
(
Common_GetIgnOnTime
()
>=
30
3
0
)
{
{
//for(i = 0; i < BU98R10_DDRAM_SIZE; i ++)
//for(i = 0; i < BU98R10_DDRAM_SIZE; i ++)
//{
//{
...
...
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
View file @
9d5b7caf
...
@@ -4574,6 +4574,8 @@ void Checkself_SEG_Display(void)
...
@@ -4574,6 +4574,8 @@ void Checkself_SEG_Display(void)
// BU98R10Chip1DDRAM.Byte[i] = 1;
// BU98R10Chip1DDRAM.Byte[i] = 1;
// }
// }
#if (1)
#if (1)
if
(
Common_GetIgnOnTime
()
>=
30
)
{
if
(
Checkself_SEG_step_count
<
60
)
if
(
Checkself_SEG_step_count
<
60
)
{
{
Checkself_SEG_step_count
++
;
Checkself_SEG_step_count
++
;
...
@@ -4598,6 +4600,8 @@ void Checkself_SEG_Display(void)
...
@@ -4598,6 +4600,8 @@ void Checkself_SEG_Display(void)
Checkself_SEG_step
--
;
Checkself_SEG_step
--
;
}
}
}
}
}
Mileage
=
((
Checkself_SEG_step
/
3
)
*
111100
);
Mileage
=
((
Checkself_SEG_step
/
3
)
*
111100
);
Fuel
=
Checkself_SEG_step
/
5u
;
Fuel
=
Checkself_SEG_step
/
5u
;
collant
=
100
+
((
Checkself_SEG_step
/
3
)
*
11
);
collant
=
100
+
((
Checkself_SEG_step
/
3
)
*
11
);
...
...
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