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
fea9fc21
Commit
fea9fc21
authored
Jun 24, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:47598 【天鹰TY200】【外发】仪表在第一次胎压学习前,外发胎压显示99psi
parent
7cdd15dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
4 deletions
+21
-4
Can_App.c
Firmware/Source/Application/CAN_User/Can_App.c
+21
-4
No files found.
Firmware/Source/Application/CAN_User/Can_App.c
View file @
fea9fc21
...
@@ -99,12 +99,29 @@ void Can_Set_Buff_450(canlib_uint8_t CopyData[])
...
@@ -99,12 +99,29 @@ void Can_Set_Buff_450(canlib_uint8_t CopyData[])
{
{
p450
->
Msg
[
i
]
=
0x0u
;
p450
->
Msg
[
i
]
=
0x0u
;
}
}
if
(
MenuData
.
TPMS_Front_Learn
==
0
)
{
p450
->
Sig
.
Front_Pressure_TX_H
=
0
;
p450
->
Sig
.
Front_Pressure_TX_L
=
0
;
}
else
{
p450
->
Sig
.
Front_Pressure_TX_H
=
(
Get_Front_TPMS_TX
()
>>
8
)
&
0xFF
;
p450
->
Sig
.
Front_Pressure_TX_H
=
(
Get_Front_TPMS_TX
()
>>
8
)
&
0xFF
;
p450
->
Sig
.
Front_Pressure_TX_L
=
Get_Front_TPMS_TX
()
&
0xFF
;
p450
->
Sig
.
Front_Pressure_TX_L
=
Get_Front_TPMS_TX
()
&
0xFF
;
}
if
(
MenuData
.
TPMS_Rear_Learn
==
0
)
{
p450
->
Sig
.
Rear_Pressure_TX_H
=
0
;
p450
->
Sig
.
Rear_Pressure_TX_L
=
0
;
}
else
{
p450
->
Sig
.
Rear_Pressure_TX_H
=
(
Get_Rear_TPMS_TX
()
>>
8
)
&
0xFF
;
p450
->
Sig
.
Rear_Pressure_TX_H
=
(
Get_Rear_TPMS_TX
()
>>
8
)
&
0xFF
;
p450
->
Sig
.
Rear_Pressure_TX_L
=
Get_Rear_TPMS_TX
()
&
0xFF
;
p450
->
Sig
.
Rear_Pressure_TX_L
=
Get_Rear_TPMS_TX
()
&
0xFF
;
}
}
}
}
}
void
Can_Set_Buff_580
(
canlib_uint8_t
CopyData
[])
void
Can_Set_Buff_580
(
canlib_uint8_t
CopyData
[])
{
{
...
...
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