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
61e840ac
Commit
61e840ac
authored
Mar 05, 2025
by
李冠华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改KL15或KL30断电后显示效果
parent
e5be831f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
13 deletions
+24
-13
GUI_Display.c
Firmware/Source/Application/GUI_Display/GUI_Display.c
+24
-13
No files found.
Firmware/Source/Application/GUI_Display/GUI_Display.c
View file @
61e840ac
...
...
@@ -307,23 +307,34 @@ void Gauge_Service(void)
else
{
#if(PART_NUMBER == G54_A01)
if
((
Get_CAN_Power_State
()
==
PKEY_ON
)
&&
(
Get_Soc1_Valid
()
==
1U
)
)
if
(
Get_CAN_Power_State
()
==
PKEY_ON
)
{
Gauge_Power_SOC_pull_Display
();
Gauge_EleDial_AllSOC_Display
();
Clear_Bu98_Conditions
(
TEL_AND_SOC
);
}
else
{
Clear_Bu98_Conditions
(
ONLY_TEL
);
}
for
(
i
=
0
;
i
<
LampCh0_MAX
;
i
++
)
{
if
((
i
==
LampCh0_08_Battery_Charging_W
)
||
(
i
==
LampCh0_32_Charging_Connection_R
))
if
((
Get_CAN_Power_State
()
==
PKEY_ON
)
&&
(
Get_Soc1_Valid
()
==
1U
))
{
;
Gauge_Power_SOC_pull_Display
();
Gauge_EleDial_AllSOC_Display
();
Clear_Bu98_Conditions
(
TEL_AND_SOC
);
}
else
{
Clear_Bu98_Conditions
(
ONLY_TEL
);
}
for
(
i
=
0
;
i
<
LampCh0_MAX
;
i
++
)
{
if
((
i
==
LampCh0_08_Battery_Charging_W
)
||
(
i
==
LampCh0_32_Charging_Connection_R
))
{
;
}
else
{
LED_Driver_Channel_Set
(
LampChannel_0
,
i
,
LED_OFF
);
}
}
}
else
{
Clear_Bu98
();
for
(
i
=
0
;
i
<
LampCh0_MAX
;
i
++
)
{
LED_Driver_Channel_Set
(
LampChannel_0
,
i
,
LED_OFF
);
}
...
...
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