Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LE19
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
时昊
LE19
Commits
350ca82e
Commit
350ca82e
authored
Mar 22, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改功率表显示
parent
1a7911c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Gauge_Display.c
le19源码/Source/Application/Display/Gauge_Display.c
+7
-0
No files found.
le19源码/Source/Application/Display/Gauge_Display.c
View file @
350ca82e
...
@@ -310,6 +310,12 @@ void Gauge_Power_Display(void)
...
@@ -310,6 +310,12 @@ void Gauge_Power_Display(void)
SEG_SET_PowerDial
(
1u
,
0u
,
0u
,
0u
);
SEG_SET_PowerDial
(
1u
,
0u
,
0u
,
0u
);
}
}
else
//PTModeInd = 1,且有效时
else
//PTModeInd = 1,且有效时
{
if
(
BattCurr
.
Value
==
0
)
{
SEG_SET_PowerDial
(
1u
,
0u
,
0u
,
255u
);
}
else
{
{
//-1格和-50%
//-1格和-50%
SEG_SET_PowerDial
(
1u
,
0x81u
,
1u
,
50u
);
SEG_SET_PowerDial
(
1u
,
0x81u
,
1u
,
50u
);
...
@@ -322,6 +328,7 @@ void Gauge_Power_Display(void)
...
@@ -322,6 +328,7 @@ void Gauge_Power_Display(void)
}
}
}
}
}
}
}
else
else
{
{
BattCurr
.
Valid
=
0
;
BattCurr
.
Valid
=
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