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
04dbd1fc
Commit
04dbd1fc
authored
Mar 01, 2025
by
李冠华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改燃油指示灯从白变黄或从黄变白另一个颜色的灯不熄灭的问题
parent
6a77819d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Telltales_user.c
Firmware/Source/Component/Telltales/Telltales_user.c
+2
-0
No files found.
Firmware/Source/Component/Telltales/Telltales_user.c
View file @
04dbd1fc
...
...
@@ -223,12 +223,14 @@ static void LED_Fuel_Alarm_Execution(Tellib_uint16_t led_status)
if
(
led_status
==
1u
)
{
/*点亮白灯*/
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_23_Fuel_Alarm_Y
,
LED_OFF
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_24_Fuel_Alarm_W
,
LED_ON
);
SEG_SET_LED_STS
(
SEG_LED_Fuel_Oil
,
1U
);
}
else
if
(
led_status
==
2u
)
{
/*点亮黄灯*/
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_24_Fuel_Alarm_W
,
LED_OFF
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_23_Fuel_Alarm_Y
,
LED_ON
);
SEG_SET_LED_STS
(
SEG_LED_Fuel_Oil
,
1U
);
}
...
...
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