Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
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
baizhengyuan
TianYing_ty100
Commits
998780ae
Commit
998780ae
authored
Sep 13, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:ABS指示灯取消修改
parent
e9b8e2dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
18 deletions
+10
-18
Telltales_user.c
Firmware/Source/Component/Telltales/Telltales_user.c
+10
-18
No files found.
Firmware/Source/Component/Telltales/Telltales_user.c
View file @
998780ae
...
...
@@ -167,29 +167,21 @@ static void LED_FAULT_ELECTROSPRAY_Execution(Tellib_uint16_t led_status)
static
Tellib_uint16_t
LED_ABS_Judgement
(
void
)
{
Tellib_uint16_t
LED_STATE
=
0u
;
if
(
Line_In_Get_Status
(
LINE_IN_Fault_ABS
)
)
if
((
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_CAN_0x120_Msg_Count
)
==
CAN_SIG_LOST
)
)
{
LED_STATE
=
0
;
LED_STATE
=
1
;
}
else
{
LED_STATE
=
1
;
if
(
Line_In_Get_Status
(
LINE_IN_Fault_ABS
))
{
LED_STATE
=
0
;
}
else
{
LED_STATE
=
1
;
}
}
//if((CAN_MSG_Status(&CAN_CH0_CanMsgOp, CAN_CH0_ID_CAN_0x120_Msg_Count) == CAN_SIG_LOST) )
//{
// LED_STATE = 1;
//}
//else
//{
// if (Line_In_Get_Status(LINE_IN_Fault_ABS))
// {
// LED_STATE = 0;
// }
// else
// {
// LED_STATE = 1;
// }
//}
return
LED_STATE
;
}
...
...
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