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
59ddc9a5
Commit
59ddc9a5
authored
Jan 15, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上电后,只要有信号掉线,10s内灯不亮,10后黄灯常亮
parent
abdaeaa9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
Telltales_user.c
source/Appliciation/Telltales_user.c
+20
-2
No files found.
source/Appliciation/Telltales_user.c
View file @
59ddc9a5
...
@@ -1745,11 +1745,29 @@ Tellib_uint16_t LED_LDWS_Lamp_Judge(void)
...
@@ -1745,11 +1745,29 @@ Tellib_uint16_t LED_LDWS_Lamp_Judge(void)
if
(
Get_NodeConfig_LWDS
()
==
1
)
if
(
Get_NodeConfig_LWDS
()
==
1
)
{
{
if
(((
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_can18FE5BE8_Msg_Count
)
==
CAN_SIG_LOST
)
||
if
(((
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_can18FE5BE8_Msg_Count
)
==
CAN_SIG_LOST
)
||
(
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_can10F007E8_Msg_Count
)
==
CAN_SIG_LOST
))
&&
(
Common_GetIgnOnTime
(
)
>=
10000
))
//故障处理,整车上电后10S内屏蔽该状态
(
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_can10F007E8_Msg_Count
)
==
CAN_SIG_LOST
)
||
(
CanReceive
.
Can_10F007E8
!=
1
)
||
(
CanReceive
.
Can_18FE5BE8
!=
1
)))
{
if
(
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_can18FE5BE8_Msg_Count
)
==
CAN_SIG_LOST
)
{
CanReceive
.
Can_18FE5BE8
=
0
;
}
if
(
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_can10F007E8_Msg_Count
)
==
CAN_SIG_LOST
)
{
CanReceive
.
Can_10F007E8
=
0
;
}
if
(
Common_GetIgnOnTime
(
)
>=
10000
)
//故障处理,整车上电后10S内屏蔽该状态
{
{
res
=
1u
;
//黄亮
res
=
1u
;
//黄亮
}
}
else
else
{
res
=
0u
;
}
}
else
{
{
if
((
Get_CAN_CH0_ID_18FE5BE8_Sig_Lane_Departure_Indication_Enable_Status
()
==
4
)
&&
(
Common_GetIgnOnTime
(
)
>=
10000
))
//指示灯黄色常亮(整车上电10S内,屏蔽该状态
if
((
Get_CAN_CH0_ID_18FE5BE8_Sig_Lane_Departure_Indication_Enable_Status
()
==
4
)
&&
(
Common_GetIgnOnTime
(
)
>=
10000
))
//指示灯黄色常亮(整车上电10S内,屏蔽该状态
{
{
...
...
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