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
0f64c82a
Commit
0f64c82a
authored
Jul 15, 2024
by
郑萍
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:无一二三档位时会显示框不显示档位
parent
eaf06359
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
24 deletions
+6
-24
SEG_DISPLAY.c
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
+0
-8
Telltales_user.c
Firmware/Source/Component/Telltales/Telltales_user.c
+6
-16
No files found.
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
View file @
0f64c82a
...
...
@@ -250,7 +250,6 @@ _Fun_Res SEG_SET_Cutterhead(uint8_t m_Flag, uint8_t LED_NUM, uint8_t checkself)
}
else
{
IC1_SEG117
=
IC_SEG_OFF
;
IC1_SEG075
=
IC_SEG_OFF
;
IC1_SEG082
=
IC_SEG_OFF
;
IC1_SEG081
=
IC_SEG_OFF
;
...
...
@@ -258,13 +257,6 @@ _Fun_Res SEG_SET_Cutterhead(uint8_t m_Flag, uint8_t LED_NUM, uint8_t checkself)
IC1_SEG078
=
IC_SEG_OFF
;
IC1_SEG076
=
IC_SEG_OFF
;
IC1_SEG077
=
IC_SEG_OFF
;
IC1_SEG118
=
IC_SEG_OFF
;
IC1_SEG073
=
IC_SEG_OFF
;
IC1_SEG074
=
IC_SEG_OFF
;
IC1_SEG079
=
IC_SEG_OFF
;
IC1_SEG083
=
IC_SEG_OFF
;
IC1_SEG116
=
IC_SEG_OFF
;
}
}
}
...
...
Firmware/Source/Component/Telltales/Telltales_user.c
View file @
0f64c82a
...
...
@@ -683,25 +683,15 @@ static Tellib_uint16_t LED_Cutterhead_Gear_Judgement(void)
Tellib_uint8_t
Signal2
=
Get_CAN_Num_BMCU_ErrorGrage
();
if
(((
Signal2
==
0x1
)
||
(
Signal2
==
0x2
)
||
(
Signal2
==
0x3
)
||
(
Signal2
==
0x4
))
&&
openLED_flag
)
{
if
((
Signal1
==
0x1
)
||
(
Signal1
==
0x2
)
||
(
Signal1
==
0x3
))
{
LED_STATE
=
2
;
}
else
{
LED_STATE
=
0
;
}
LED_STATE
=
2
;
}
else
if
((
Signal2
==
0x0
)
&&
openLED_flag
)
{
if
((
Signal1
==
0x1
)
||
(
Signal1
==
0x2
)
||
(
Signal1
==
0x3
))
{
LED_STATE
=
1
;
}
else
{
LED_STATE
=
0
;
}
LED_STATE
=
1
;
}
else
{
LED_STATE
=
0
;
}
return
LED_STATE
;
}
...
...
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