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
2737a7d4
Commit
2737a7d4
authored
Feb 13, 2025
by
梁百峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改菜单中改变亮度占空比范围
parent
9472b775
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
18 deletions
+4
-18
Menu_Interface.c
source/Appliciation/Menu_Interface.c
+4
-18
No files found.
source/Appliciation/Menu_Interface.c
View file @
2737a7d4
...
@@ -303,29 +303,15 @@ void Menu_Logic_Operation_SET_Backlight(Menu_Key_en_t enKeyType)
...
@@ -303,29 +303,15 @@ void Menu_Logic_Operation_SET_Backlight(Menu_Key_en_t enKeyType)
else
if
(
enKeyType
==
MENU_KEY_RIGHT_SHORT
)
else
if
(
enKeyType
==
MENU_KEY_RIGHT_SHORT
)
{
{
updataDir
=
1
;
updataDir
=
1
;
datmax
=
50
0u
;
datmax
=
85
0u
;
datmin
=
10
0u
;
datmin
=
15
0u
;
if
((
Get_TelltalesLedSts
(
m_LED_Park_Lamp
)
==
1
)
||
(
Get_Enter_night_mode_sta
()
==
1
))
if
((
Get_TelltalesLedSts
(
m_LED_Park_Lamp
)
==
1
)
||
(
Get_Enter_night_mode_sta
()
==
1
))
{
{
if
(
g_nightLight
.
Duty
==
100u
)
Menu_u16Data_Updata_Process
(
updataDir
,
datmax
,
datmin
,
100u
,
(
uint16_t
*
)
&
(
g_nightLight
.
Duty
));
{
Menu_u16Data_Updata_Process
(
updataDir
,
datmax
,
datmin
,
100u
,
(
uint16_t
*
)
&
(
g_nightLight
.
Duty
));
}
else
{
Menu_u16Data_Updata_Process
(
updataDir
,
datmax
,
datmin
,
50u
,
(
uint16_t
*
)
&
(
g_nightLight
.
Duty
));
}
}
}
else
else
{
{
if
(
g_Light
.
Duty
==
100u
)
Menu_u16Data_Updata_Process
(
updataDir
,
datmax
,
datmin
,
100u
,
(
uint16_t
*
)
&
(
g_Light
.
Duty
));
{
Menu_u16Data_Updata_Process
(
updataDir
,
datmax
,
datmin
,
100u
,
(
uint16_t
*
)
&
(
g_Light
.
Duty
));
}
else
{
Menu_u16Data_Updata_Process
(
updataDir
,
datmax
,
datmin
,
50u
,
(
uint16_t
*
)
&
(
g_Light
.
Duty
));
}
}
}
}
}
...
...
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