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
cf1be509
Commit
cf1be509
authored
Jun 22, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:47382 根据车厂要求,不使用的字节位需要显示00
parent
f219d413
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Can_App.c
Firmware/Source/Application/CAN_User/Can_App.c
+5
-5
No files found.
Firmware/Source/Application/CAN_User/Can_App.c
View file @
cf1be509
...
...
@@ -13,7 +13,7 @@ void Can_Set_Buff_220(canlib_uint8_t CopyData[])
{
for
(
i
=
0u
;
i
<
8u
;
i
++
)
{
p220
->
Msg
[
i
]
=
0x
FF
u
;
p220
->
Msg
[
i
]
=
0x
0
u
;
}
p220
->
Sig
.
TCS_TX
=
Get_Dis_Tcs_Val
();
...
...
@@ -33,7 +33,7 @@ void Can_Set_Buff_6EE(canlib_uint8_t CopyData[])
{
for
(
i
=
0u
;
i
<
8u
;
i
++
)
{
p6EE
->
Msg
[
i
]
=
0x
FF
u
;
p6EE
->
Msg
[
i
]
=
0x
0
u
;
}
p6EE
->
Sig
.
ODO_TX_H
=
(
ODO_tx
>>
16
)
&
0xFF
;
p6EE
->
Sig
.
ODO_TX_M
=
(
ODO_tx
>>
8
)
&
0xFF
;
...
...
@@ -78,7 +78,7 @@ void Can_Set_Buff_6EF(canlib_uint8_t CopyData[])
{
for
(
i
=
0u
;
i
<
8u
;
i
++
)
{
p6EF
->
Msg
[
i
]
=
0x
FF
u
;
p6EF
->
Msg
[
i
]
=
0x
0
u
;
}
p6EF
->
Sig
.
TripA_H
=
(
TripA_tx
>>
8
)
&
0xFF
;
p6EF
->
Sig
.
TripA_L
=
TripA_tx
&
0xFF
;
...
...
@@ -97,7 +97,7 @@ void Can_Set_Buff_450(canlib_uint8_t CopyData[])
{
for
(
i
=
0u
;
i
<
8u
;
i
++
)
{
p450
->
Msg
[
i
]
=
0x
FF
u
;
p450
->
Msg
[
i
]
=
0x
0
u
;
}
p450
->
Sig
.
Front_Pressure_TX_H
=
(
Get_Front_TPMS_TX
()
>>
8
)
&
0xFF
;
p450
->
Sig
.
Front_Pressure_TX_L
=
Get_Front_TPMS_TX
()
&
0xFF
;
...
...
@@ -116,7 +116,7 @@ void Can_Set_Buff_580(canlib_uint8_t CopyData[])
{
for
(
i
=
0u
;
i
<
8u
;
i
++
)
{
p580
->
Msg
[
i
]
=
0x
FF
u
;
p580
->
Msg
[
i
]
=
0x
0
u
;
}
if
(
Get_Tpms_TX_Flag
()
==
1
)
...
...
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