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
03e1b07e
Commit
03e1b07e
authored
Apr 16, 2025
by
李冠华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改电池充电进行中指示灯工作逻辑
parent
6dca2b61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
Telltales_user.c
Firmware/Source/Component/Telltales/Telltales_user.c
+14
-5
No files found.
Firmware/Source/Component/Telltales/Telltales_user.c
View file @
03e1b07e
...
...
@@ -583,10 +583,23 @@ static Tellib_uint16_t LED_Battery_Charging_Judgement(void)
}
#else
Tellib_uint8_t
Signal1
=
Get_CAN_CH0_ID_220_Sig_VCU_ChgMode
();
Tellib_uint8_t
BattChargeState
=
Get_CAN_CH0_ID_31A_Sig_MBMS_StatBattChargeState
();
if
(
Signal1
==
1U
)
{
LED_STATE
=
(
Tellib_uint16_t
)
g_ChgModeStatus
;
// LED_STATE = (Tellib_uint16_t) g_ChgModeStatus;
if
(
BattChargeState
==
2U
)
{
LED_STATE
=
1U
;
}
else
if
(
BattChargeState
==
3U
)
{
LED_STATE
=
2U
;
}
else
{
LED_STATE
=
0U
;
}
}
else
{
...
...
@@ -606,11 +619,7 @@ static void LED_Battery_Charging_Execution(Tellib_uint16_t led_status)
}
else
if
(
led_status
==
2u
)
{
#if (PART_NUMBER == RMR42E_60)
if
(
FLASH_SYNC_1Hz
)
#else
if
(
FLASH_SYNC_05Hz
)
#endif
{
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_08_Battery_Charging_W
,
LED_ON
);
SEG_SET_LED_STS
(
SEG_LED_Recharge
,
1
);
...
...
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