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
1f148072
Commit
1f148072
authored
Jul 19, 2024
by
郑萍
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:档位遇到故障时闪烁需要点亮背光灯,只需关窗即可
parent
778fbd82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
14 deletions
+2
-14
Telltales_user.c
Firmware/Source/Component/Telltales/Telltales_user.c
+2
-14
No files found.
Firmware/Source/Component/Telltales/Telltales_user.c
View file @
1f148072
...
...
@@ -697,23 +697,11 @@ static Tellib_uint16_t LED_Cutterhead_Gear_Judgement(void)
}
static
void
LED_Cutterhead_Gear_Execution
(
Tellib_uint16_t
led_status
)
{
if
(
led_status
==
1
u
)
if
(
led_status
!=
0
u
)
{
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_15_Cutterhead_Gear_W
,
LED_ON
);
// SEG_SET_LED_STS(1,1);
}
else
if
(
led_status
==
2u
)
{
if
(
FLASH_SYNC_1Hz
)
{
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_15_Cutterhead_Gear_W
,
LED_ON
);
}
else
{
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_15_Cutterhead_Gear_W
,
LED_OFF
);
}
// SEG_SET_LED_STS(1,0);
}
else
{
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_15_Cutterhead_Gear_W
,
LED_OFF
);
...
...
@@ -836,7 +824,7 @@ static void LED_P_GEAR_G_Execution(Tellib_uint16_t led_status)
}
else
{
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_05_Gears_W
,
LED_O
FF
);
LED_Driver_Channel_Set
(
LampChannel_0
,
LampCh0_05_Gears_W
,
LED_O
N
);
SEG_SET_GEAR
(
1
,
Gear_OFF
,
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