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
e174a01e
Commit
e174a01e
authored
Aug 09, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:55081 当前轮胎压值为FF时,后轮胎压为正常有效值时,前轮胎压外发显示错误。增加胎压外发判断条件
parent
a3c7aa95
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Can_App.c
Firmware/Source/Application/CAN_User/Can_App.c
+2
-2
No files found.
Firmware/Source/Application/CAN_User/Can_App.c
View file @
e174a01e
...
@@ -110,7 +110,7 @@ void Can_Set_Buff_450(canlib_uint8_t CopyData[])
...
@@ -110,7 +110,7 @@ void Can_Set_Buff_450(canlib_uint8_t CopyData[])
{
{
p450
->
Msg
[
i
]
=
0x0u
;
p450
->
Msg
[
i
]
=
0x0u
;
}
}
if
(
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_CAN_0x341_Msg_Count
)
==
CAN_SIG_LOST
\
if
(
Get_Front_TPMS_Sig_Vaild
()
==
0
\
||
Get_TPMS_Front_Learn
()
!=
2
||
Get_TPMS_Front_Learn
()
!=
2
||
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_CAN_0x373_Msg_Count
)
==
CAN_SIG_LOST
\
||
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_CAN_0x373_Msg_Count
)
==
CAN_SIG_LOST
\
||
Get_Front_TPMS_ID_Vaild
()
==
0
)
||
Get_Front_TPMS_ID_Vaild
()
==
0
)
...
@@ -123,7 +123,7 @@ void Can_Set_Buff_450(canlib_uint8_t CopyData[])
...
@@ -123,7 +123,7 @@ void Can_Set_Buff_450(canlib_uint8_t CopyData[])
p450
->
Sig
.
Front_Pressure_TX_H
=
((
Get_Front_TPMS_TX
()
+
146
)
>>
8
)
&
0xFF
;
p450
->
Sig
.
Front_Pressure_TX_H
=
((
Get_Front_TPMS_TX
()
+
146
)
>>
8
)
&
0xFF
;
p450
->
Sig
.
Front_Pressure_TX_L
=
(
Get_Front_TPMS_TX
()
+
146
)
&
0xFF
;
p450
->
Sig
.
Front_Pressure_TX_L
=
(
Get_Front_TPMS_TX
()
+
146
)
&
0xFF
;
}
}
if
(
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_CAN_0x341_Msg_Count
)
==
CAN_SIG_LOST
\
if
(
Get_Rear_TPMS_Sig_Vaild
()
==
0
\
||
Get_TPMS_Rear_Learn
()
!=
2
||
Get_TPMS_Rear_Learn
()
!=
2
||
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_CAN_0x373_Msg_Count
)
==
CAN_SIG_LOST
\
||
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_CAN_0x373_Msg_Count
)
==
CAN_SIG_LOST
\
||
Get_Rear_TPMS_ID_Vaild
()
==
0
)
||
Get_Rear_TPMS_ID_Vaild
()
==
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