Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RT_RMR42E
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
时昊
RT_RMR42E
Commits
fa2b2673
Commit
fa2b2673
authored
Mar 04, 2025
by
李冠华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改混动车型故障码背光控制逻辑
parent
bb5bff99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
Telltales_user.c
Firmware/Source/Component/Telltales/Telltales_user.c
+12
-10
No files found.
Firmware/Source/Component/Telltales/Telltales_user.c
View file @
fa2b2673
...
...
@@ -978,26 +978,28 @@ static void LED_Working_Hours_One_Execution(Tellib_uint16_t led_status)
static
Tellib_uint16_t
LED_Fault_Codes_Judgement
(
void
)
{
Tellib_uint16_t
LED_STATE
=
0u
;
// if (Line_In_Get_Status(LINE_IN_HighBeam))
// {
// LED_STATE = 1;
// }
// else
// {
// LED_STATE = 0;
// }
#if (PART_NUMBER == G54_A01)
if
(
Get_FaultCode_Valid
()
==
1U
)
{
LED_STATE
=
1U
;
}
else
{
LED_STATE
=
0U
;
}
#endif
return
LED_STATE
;
}
static
void
LED_Fault_Codes_Execution
(
Tellib_uint16_t
led_status
)
{
if
(
led_status
==
1u
)
{
// LED_Driver_Channel_Set(LampChannel_0, LampCh0_07_Key_ISTOP
, LED_ON);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_19_Fault_Codes_W
,
LED_ON
);
// SEG_SET_LED_STS(1,1);
}
else
{
// LED_Driver_Channel_Set(LampChannel_0, LampCh0_07_Key_ISTOP
, LED_OFF);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_19_Fault_Codes_W
,
LED_OFF
);
// SEG_SET_LED_STS(1,0);
}
}
...
...
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