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
9d846ee2
Commit
9d846ee2
authored
Mar 01, 2025
by
李冠华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改发动机工作指示灯不能熄灭的问题
parent
55ef18c2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
21 deletions
+21
-21
Can_RX_User.c
Firmware/Source/Application/CAN_User/Can_RX_User.c
+20
-0
Telltales_user.c
Firmware/Source/Component/Telltales/Telltales_user.c
+1
-21
No files found.
Firmware/Source/Application/CAN_User/Can_RX_User.c
View file @
9d846ee2
...
@@ -591,6 +591,11 @@ void CAN_0x22F_Receive(uint8_t CopyData [])
...
@@ -591,6 +591,11 @@ void CAN_0x22F_Receive(uint8_t CopyData [])
{
{
g_WorkCount
++
;
g_WorkCount
++
;
}
}
else
{
g_WorkStatus
=
2U
;
g_WorkCount
=
0U
;
}
}
}
else
if
((
u8Signal
==
3U
)
&&
(
g_WorkStatus
!=
3U
))
else
if
((
u8Signal
==
3U
)
&&
(
g_WorkStatus
!=
3U
))
{
{
...
@@ -598,6 +603,11 @@ void CAN_0x22F_Receive(uint8_t CopyData [])
...
@@ -598,6 +603,11 @@ void CAN_0x22F_Receive(uint8_t CopyData [])
{
{
g_WorkCount
++
;
g_WorkCount
++
;
}
}
else
{
g_WorkStatus
=
3U
;
g_WorkCount
=
0U
;
}
}
}
else
if
((
u8Signal
==
4U
)
&&
(
g_WorkStatus
!=
4U
))
else
if
((
u8Signal
==
4U
)
&&
(
g_WorkStatus
!=
4U
))
{
{
...
@@ -605,6 +615,11 @@ void CAN_0x22F_Receive(uint8_t CopyData [])
...
@@ -605,6 +615,11 @@ void CAN_0x22F_Receive(uint8_t CopyData [])
{
{
g_WorkCount
++
;
g_WorkCount
++
;
}
}
else
{
g_WorkStatus
=
4U
;
g_WorkCount
=
0U
;
}
}
}
else
if
((
u8Signal
!=
2U
)
&&
(
u8Signal
!=
3U
)
&&
(
u8Signal
!=
4U
)
&&
(
g_WorkStatus
!=
0U
))
else
if
((
u8Signal
!=
2U
)
&&
(
u8Signal
!=
3U
)
&&
(
u8Signal
!=
4U
)
&&
(
g_WorkStatus
!=
0U
))
{
{
...
@@ -612,6 +627,11 @@ void CAN_0x22F_Receive(uint8_t CopyData [])
...
@@ -612,6 +627,11 @@ void CAN_0x22F_Receive(uint8_t CopyData [])
{
{
g_WorkCount
++
;
g_WorkCount
++
;
}
}
else
{
g_WorkStatus
=
0U
;
g_WorkCount
=
0U
;
}
}
}
else
else
{
{
...
...
Firmware/Source/Component/Telltales/Telltales_user.c
View file @
9d846ee2
...
@@ -748,26 +748,6 @@ static Tellib_uint16_t LED_Engine_Works_Judgement(void)
...
@@ -748,26 +748,6 @@ static Tellib_uint16_t LED_Engine_Works_Judgement(void)
Tellib_uint16_t
LED_STATE
=
0u
;
Tellib_uint16_t
LED_STATE
=
0u
;
#if (PART_NUMBER == G54_A01)
#if (PART_NUMBER == G54_A01)
if
((
g_WorkStatus
!=
2U
)
&&
(
g_WorkCount
>=
3U
))
{
g_WorkStatus
=
2U
;
g_WorkCount
=
0U
;
}
else
if
((
g_WorkStatus
!=
3U
)
&&
(
g_WorkCount
>=
3U
))
{
g_WorkStatus
=
3U
;
g_WorkCount
=
0U
;
}
else
if
((
g_WorkStatus
!=
4U
)
&&
(
g_WorkCount
>=
3U
))
{
g_WorkStatus
=
4U
;
g_WorkCount
=
0U
;
}
else
if
((
g_WorkStatus
!=
0U
)
&&
(
g_WorkCount
>=
3U
))
{
g_WorkStatus
=
0U
;
g_WorkCount
=
0U
;
}
if
((
g_WorkStatus
==
2U
)
||
(
g_WorkStatus
==
3U
)
||
(
g_WorkStatus
==
4U
))
if
((
g_WorkStatus
==
2U
)
||
(
g_WorkStatus
==
3U
)
||
(
g_WorkStatus
==
4U
))
{
{
...
...
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