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
9472b775
Commit
9472b775
authored
Feb 13, 2025
by
梁百峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改背光外发
parent
61887258
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
31 deletions
+30
-31
CAN_APP.c
source/Appliciation/CAN_App/CAN_APP.c
+30
-31
No files found.
source/Appliciation/CAN_App/CAN_APP.c
View file @
9472b775
...
@@ -537,77 +537,76 @@ void Can_Set_Buff_18D00017(canlib_uint8_t CopyData [])
...
@@ -537,77 +537,76 @@ void Can_Set_Buff_18D00017(canlib_uint8_t CopyData [])
{
{
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
==
1
0
0
)
if
(
g_nightLight
.
Duty
==
1
5
0
)
{
{
IC_ILLUMINATION
=
10
;
IC_ILLUMINATION
=
15
;
}
else
if
(
g_nightLight
.
Duty
==
200
)
{
IC_ILLUMINATION
=
20
;
}
}
else
if
(
g_nightLight
.
Duty
==
250
)
else
if
(
g_nightLight
.
Duty
==
250
)
{
{
IC_ILLUMINATION
=
2
7
;
IC_ILLUMINATION
=
2
5
;
}
}
else
if
(
g_nightLight
.
Duty
==
3
0
0
)
else
if
(
g_nightLight
.
Duty
==
3
5
0
)
{
{
IC_ILLUMINATION
=
35
;
IC_ILLUMINATION
=
35
;
}
}
else
if
(
g_nightLight
.
Duty
==
3
50
)
else
if
(
g_nightLight
.
Duty
==
4
50
)
{
{
IC_ILLUMINATION
=
45
;
IC_ILLUMINATION
=
45
;
}
}
else
if
(
g_nightLight
.
Duty
==
40
0
)
else
if
(
g_nightLight
.
Duty
==
55
0
)
{
{
IC_ILLUMINATION
=
5
8
;
IC_ILLUMINATION
=
5
5
;
}
}
else
if
(
g_nightLight
.
Duty
==
450
)
else
if
(
g_nightLight
.
Duty
==
650
)
{
IC_ILLUMINATION
=
65
;
}
else
if
(
g_nightLight
.
Duty
==
750
)
{
{
IC_ILLUMINATION
=
7
3
;
IC_ILLUMINATION
=
7
5
;
}
}
else
if
(
g_nightLight
.
Duty
==
50
0
)
else
if
(
g_nightLight
.
Duty
==
85
0
)
{
{
IC_ILLUMINATION
=
100
;
IC_ILLUMINATION
=
85
;
}
}
else
else
{
{
IC_ILLUMINATION
=
0
;
IC_ILLUMINATION
=
0
;
}
}
}
}
else
else
{
{
if
(
g_Light
.
Duty
==
1
0
0
)
if
(
g_Light
.
Duty
==
1
5
0
)
{
{
IC_ILLUMINATION
=
10
;
IC_ILLUMINATION
=
15
;
}
else
if
(
g_Light
.
Duty
==
200
)
{
IC_ILLUMINATION
=
20
;
}
}
else
if
(
g_Light
.
Duty
==
250
)
else
if
(
g_Light
.
Duty
==
250
)
{
{
IC_ILLUMINATION
=
2
7
;
IC_ILLUMINATION
=
2
5
;
}
}
else
if
(
g_Light
.
Duty
==
3
0
0
)
else
if
(
g_Light
.
Duty
==
3
5
0
)
{
{
IC_ILLUMINATION
=
35
;
IC_ILLUMINATION
=
35
;
}
}
else
if
(
g_Light
.
Duty
==
3
50
)
else
if
(
g_Light
.
Duty
==
4
50
)
{
{
IC_ILLUMINATION
=
45
;
IC_ILLUMINATION
=
45
;
}
}
else
if
(
g_Light
.
Duty
==
40
0
)
else
if
(
g_Light
.
Duty
==
55
0
)
{
{
IC_ILLUMINATION
=
5
8
;
IC_ILLUMINATION
=
5
5
;
}
}
else
if
(
g_Light
.
Duty
==
450
)
else
if
(
g_Light
.
Duty
==
650
)
{
IC_ILLUMINATION
=
65
;
}
else
if
(
g_Light
.
Duty
==
750
)
{
{
IC_ILLUMINATION
=
7
3
;
IC_ILLUMINATION
=
7
5
;
}
}
else
if
(
g_Light
.
Duty
==
50
0
)
else
if
(
g_Light
.
Duty
==
85
0
)
{
{
IC_ILLUMINATION
=
100
;
IC_ILLUMINATION
=
85
;
}
}
else
else
{
{
...
...
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