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
baizhengyuan
TianYing_ty100
Commits
d06acc5e
Commit
d06acc5e
authored
May 09, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:增加里程外发
parent
8887ee3a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Can_App.c
Firmware/Source/Application/CAN_User/Can_App.c
+4
-1
No files found.
Firmware/Source/Application/CAN_User/Can_App.c
View file @
d06acc5e
...
...
@@ -25,6 +25,7 @@ void Can_Set_Buff_6EE(canlib_uint8_t CopyData[])
uint16_t
Vspeed_tx
=
0
;
Vspeed_tx
=
Get_DispVechileSpeed_TX
()
/
10
;
p6EE
=
(
CANMsg6EEUnion
*
)
CopyData
;
if
(
p6EE
!=
(
void
*
)
0
)
{
for
(
i
=
0u
;
i
<
8u
;
i
++
)
...
...
@@ -34,6 +35,7 @@ void Can_Set_Buff_6EE(canlib_uint8_t CopyData[])
}
p6EE
->
Sig
.
Vsppe_H3_TX
=
(
Vspeed_tx
>>
8
)
&
0x7u
;
p6EE
->
Sig
.
Vsppe_L8_TX
=
Vspeed_tx
&
0xFF
;
p6EE
->
Sig
.
ODO_TX
=
Data_ODO_Read
();
p6EE
->
Sig
.
Uint_TX
=
Get_Dis_KM_Unit
()
;
p6EE
->
Sig
.
Coolant_Seg_TX
=
GET_DataCoolantTempSegDisp
()
;
if
(
GET_DataCollantTempWarnflg
()
==
2
)
...
...
@@ -71,6 +73,7 @@ void Can_Set_Buff_6EF(canlib_uint8_t CopyData[])
}
}
p6EF
->
Sig
.
Espeed_TX
=
Espeed_tx
;
p6EF
->
Sig
.
TripA
=
Data_Read_Trip
(
EM_TRIP_A
);
p6EF
->
Sig
.
Coolant_TX
=
GET_DataCoolantTempValueDisp
()
+
40
;
}
void
Can_Set_Buff_450
(
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