Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
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
TY
TianYing_ty100
Commits
b4f669b2
Commit
b4f669b2
authored
Jul 31, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:52329 里程自检时,数值显示不正确。简化CAN报文发送判断条件
parent
0f52d6bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Can_User.c
Firmware/Source/Application/CAN_User/Can_User.c
+2
-2
No files found.
Firmware/Source/Application/CAN_User/Can_User.c
View file @
b4f669b2
...
@@ -341,7 +341,7 @@ uint8_t COM_APP_Process(st_CAN_Msg *Msg)
...
@@ -341,7 +341,7 @@ uint8_t COM_APP_Process(st_CAN_Msg *Msg)
break
;
break
;
case
0x450
:
case
0x450
:
if
(
Can_341_Flg
==
1
||
Common_GetIgnOnTime
()
>
2000
)
//
if(Can_341_Flg == 1 || Common_GetIgnOnTime() > 2000)
{
{
CAN_result
=
CAN_Transmit
(
CAN0MSG13
,
&
CAN_SendMsg
);
CAN_result
=
CAN_Transmit
(
CAN0MSG13
,
&
CAN_SendMsg
);
}
}
...
@@ -360,7 +360,7 @@ uint8_t COM_APP_Process(st_CAN_Msg *Msg)
...
@@ -360,7 +360,7 @@ uint8_t COM_APP_Process(st_CAN_Msg *Msg)
break
;
break
;
#if (IC_Current == TY200_080000b_ty)
#if (IC_Current == TY200_080000b_ty)
case
0x580
:
case
0x580
:
if
(
Get_Tpms_TX_Flag
()
==
1
||
Get_Tpms_TX_Flag
()
==
2
)
if
(
Get_Tpms_TX_Flag
()
!=
0
)
{
{
CAN_result
=
CAN_Transmit
(
CAN0MSG14
,
&
CAN_SendMsg
);
CAN_result
=
CAN_Transmit
(
CAN0MSG14
,
&
CAN_SendMsg
);
}
}
...
...
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