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
615087bc
Commit
615087bc
authored
Mar 21, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:40629修改功率表计算
parent
b1b4b28f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
Gauge_Display.c
le19源码/Source/Application/Display/Gauge_Display.c
+3
-6
No files found.
le19源码/Source/Application/Display/Gauge_Display.c
View file @
615087bc
...
...
@@ -314,13 +314,10 @@ void Gauge_Power_Display(void)
//-1格和-50%
SEG_SET_PowerDial
(
1u
,
0x81u
,
1u
,
50u
);
if
(
BattCurr
.
Symbol
==
1
)
//-
if
(
BattCurr
.
Value
>
50
)
{
if
(
BattCurr
.
Value
>
50
)
//负数情况下,数值越大,实际越小
{
//-1 -2格和-100%
SEG_SET_PowerDial
(
1u
,
0x82u
,
1u
,
100u
);
}
//-1 -2格和-100%
SEG_SET_PowerDial
(
1u
,
0x82u
,
1u
,
100u
);
}
}
}
...
...
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