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
55ef18c2
Commit
55ef18c2
authored
Mar 01, 2025
by
李冠华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改MBMS_SafeBattWorkState信号值为非1/3时,充电指示灯显示错误的问题
parent
04dbd1fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
16 deletions
+15
-16
Can_RX_User.c
Firmware/Source/Application/CAN_User/Can_RX_User.c
+15
-0
Telltales_user.c
Firmware/Source/Component/Telltales/Telltales_user.c
+0
-16
No files found.
Firmware/Source/Application/CAN_User/Can_RX_User.c
View file @
55ef18c2
...
...
@@ -541,6 +541,11 @@ void CAN_0x16B_Receive(uint8_t CopyData [])
{
g_ChgModeCount
++
;
}
else
{
g_ChgModeStatus
=
1U
;
g_ChgModeCount
=
0U
;
}
}
else
if
((
u8Signal
==
3U
)
&&
(
g_ChgModeStatus
!=
2U
))
{
...
...
@@ -548,6 +553,11 @@ void CAN_0x16B_Receive(uint8_t CopyData [])
{
g_ChgModeCount
++
;
}
else
{
g_ChgModeStatus
=
2U
;
g_ChgModeCount
=
0U
;
}
}
else
if
((
u8Signal
!=
1U
)
&&
(
u8Signal
!=
3U
)
&&
(
g_ChgModeStatus
!=
0U
))
{
...
...
@@ -555,6 +565,11 @@ void CAN_0x16B_Receive(uint8_t CopyData [])
{
g_ChgModeCount
++
;
}
else
{
g_ChgModeStatus
=
0U
;
g_ChgModeCount
=
0U
;
}
}
else
{
...
...
Firmware/Source/Component/Telltales/Telltales_user.c
View file @
55ef18c2
...
...
@@ -582,22 +582,6 @@ static Tellib_uint16_t LED_Battery_Charging_Judgement(void)
if
(
Signal1
==
1U
)
{
if
((
g_ChgModeStatus
!=
1U
)
&&
(
g_ChgModeCount
>=
3U
))
{
g_ChgModeStatus
=
1U
;
g_ChgModeCount
=
0U
;
}
else
if
((
g_ChgModeStatus
!=
2U
)
&&
(
g_ChgModeCount
>=
3U
))
{
g_ChgModeStatus
=
2U
;
g_ChgModeCount
=
0U
;
}
else
if
((
g_ChgModeStatus
!=
0U
)
&&
(
g_ChgModeCount
>=
3U
))
{
g_ChgModeStatus
=
0U
;
g_ChgModeCount
=
0U
;
}
LED_STATE
=
(
Tellib_uint16_t
)
g_ChgModeStatus
;
}
else
...
...
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