Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
IVECO_NS216
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
时昊
IVECO_NS216
Commits
825ab991
Commit
825ab991
authored
Feb 13, 2025
by
梁百峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改菜单中亮度等级显示判断条件
parent
5d857d29
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
GUI.c
source/Appliciation/Display/GUI.c
+17
-17
No files found.
source/Appliciation/Display/GUI.c
View file @
825ab991
...
...
@@ -4074,42 +4074,42 @@ void Gui_Backlight(INT8U Backlight)
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_1_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_0_X0_Y0
,
114
,
191
);
}
else
if
((
g_nightLight
.
Duty
==
1
0
0
)
)
else
if
((
g_nightLight
.
Duty
==
1
5
0
)
)
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_2_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_1_X0_Y0
,
114
,
191
);
}
else
if
((
g_nightLight
.
Duty
==
2
0
0
)
)
else
if
((
g_nightLight
.
Duty
==
2
5
0
)
)
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_3_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_2_X0_Y0
,
114
,
191
);
}
else
if
((
g_nightLight
.
Duty
==
2
50
)
)
else
if
((
g_nightLight
.
Duty
==
3
50
)
)
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_4_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_3_X0_Y0
,
114
,
191
);
}
else
if
((
g_nightLight
.
Duty
==
30
0
)
)
else
if
((
g_nightLight
.
Duty
==
45
0
)
)
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_5_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_4_X0_Y0
,
114
,
191
);
}
else
if
((
g_nightLight
.
Duty
==
3
50
)
)
else
if
((
g_nightLight
.
Duty
==
5
50
)
)
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_6_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_5_X0_Y0
,
114
,
191
);
}
else
if
((
g_nightLight
.
Duty
==
40
0
)
)
else
if
((
g_nightLight
.
Duty
==
65
0
)
)
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_7_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_6_X0_Y0
,
114
,
191
);
}
else
if
((
g_nightLight
.
Duty
==
4
50
)
)
else
if
((
g_nightLight
.
Duty
==
7
50
)
)
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_8_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_7_X0_Y0
,
114
,
191
);
}
else
if
((
g_nightLight
.
Duty
==
50
0
)
)
else
if
((
g_nightLight
.
Duty
==
85
0
)
)
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_9_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_8_X0_Y0
,
114
,
191
);
...
...
@@ -4122,42 +4122,42 @@ void Gui_Backlight(INT8U Backlight)
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_1_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_0_X0_Y0
,
114
,
191
);
}
else
if
(
(
g_Light
.
Duty
==
1
0
0
))
else
if
(
(
g_Light
.
Duty
==
1
5
0
))
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_2_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_1_X0_Y0
,
114
,
191
);
}
else
if
(
(
g_Light
.
Duty
==
2
0
0
))
else
if
(
(
g_Light
.
Duty
==
2
5
0
))
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_3_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_2_X0_Y0
,
114
,
191
);
}
else
if
(
(
g_Light
.
Duty
==
2
50
))
else
if
(
(
g_Light
.
Duty
==
3
50
))
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_4_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_3_X0_Y0
,
114
,
191
);
}
else
if
(
(
g_Light
.
Duty
==
30
0
))
else
if
(
(
g_Light
.
Duty
==
45
0
))
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_5_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_4_X0_Y0
,
114
,
191
);
}
else
if
(
(
g_Light
.
Duty
==
3
50
))
else
if
(
(
g_Light
.
Duty
==
5
50
))
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_6_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_5_X0_Y0
,
114
,
191
);
}
else
if
(
(
g_Light
.
Duty
==
40
0
))
else
if
(
(
g_Light
.
Duty
==
65
0
))
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_7_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_6_X0_Y0
,
114
,
191
);
}
else
if
(
(
g_Light
.
Duty
==
4
50
))
else
if
(
(
g_Light
.
Duty
==
7
50
))
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_8_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_7_X0_Y0
,
114
,
191
);
}
else
if
(
(
g_Light
.
Duty
==
50
0
))
else
if
(
(
g_Light
.
Duty
==
85
0
))
{
Draw_Image_Local
((
uint8_t
*
)
Set_CN_01_9_X35_Y169
,
35
,
169
);
Draw_Image_Local
((
uint8_t
*
)
Number_18_White_8_X0_Y0
,
114
,
191
);
...
...
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