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
1508cd51
Commit
1508cd51
authored
Jun 18, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:规范变更,取消水温,燃油段数,车速转速,公英制转换外发
parent
b17ba4c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
Can_App.c
Firmware/Source/Application/CAN_User/Can_App.c
+14
-14
No files found.
Firmware/Source/Application/CAN_User/Can_App.c
View file @
1508cd51
...
@@ -34,22 +34,22 @@ void Can_Set_Buff_6EE(canlib_uint8_t CopyData[])
...
@@ -34,22 +34,22 @@ void Can_Set_Buff_6EE(canlib_uint8_t CopyData[])
p6EE
->
Msg
[
i
]
=
0xFFu
;
p6EE
->
Msg
[
i
]
=
0xFFu
;
}
}
}
}
p6EE
->
Sig
.
Vsppe_H3_TX
=
(
Vspeed_tx
>>
8
)
&
0x7u
;
//
p6EE -> Sig.Vsppe_H3_TX = (Vspeed_tx >> 8) & 0x7u ;
p6EE
->
Sig
.
Vsppe_L8_TX
=
Vspeed_tx
&
0xFF
;
//
p6EE -> Sig.Vsppe_L8_TX = Vspeed_tx & 0xFF ;
p6EE
->
Sig
.
ODO_TX_H
=
(
ODO_tx
>>
16
)
&
0xFF
;
p6EE
->
Sig
.
ODO_TX_H
=
(
ODO_tx
>>
16
)
&
0xFF
;
p6EE
->
Sig
.
ODO_TX_M
=
(
ODO_tx
>>
8
)
&
0xFF
;
p6EE
->
Sig
.
ODO_TX_M
=
(
ODO_tx
>>
8
)
&
0xFF
;
p6EE
->
Sig
.
ODO_TX_L
=
ODO_tx
&
0xFF
;
p6EE
->
Sig
.
ODO_TX_L
=
ODO_tx
&
0xFF
;
p6EE
->
Sig
.
Uint_TX
=
Get_Dis_KM_Unit
()
;
//
p6EE -> Sig.Uint_TX = Get_Dis_KM_Unit() ;
p6EE
->
Sig
.
Coolant_Seg_TX
=
GET_DataCoolantTempSegDisp
()
;
//
p6EE -> Sig.Coolant_Seg_TX = GET_DataCoolantTempSegDisp() ;
if
(
GET_DataCollantTempWarnflg
()
==
2
)
//
if (GET_DataCollantTempWarnflg() == 2)
{
//
{
p6EE
->
Sig
.
Coolant_Warn_TX
=
1
;
//
p6EE -> Sig.Coolant_Warn_TX = 1;
}
//
}
else
//
else
{
//
{
p6EE
->
Sig
.
Coolant_Warn_TX
=
0
;
//
p6EE -> Sig.Coolant_Warn_TX = 0;
}
//
}
p6EE
->
Sig
.
Fuel_Seg_TX
=
Get_CurFuelSetp
()
;
//
p6EE -> Sig.Fuel_Seg_TX = Get_CurFuelSetp() ;
if
(
Get_Fuel_RES
()
>
255
)
if
(
Get_Fuel_RES
()
>
255
)
{
{
p6EE
->
Sig
.
Fuel_Res_TX
=
0xFF
;
p6EE
->
Sig
.
Fuel_Res_TX
=
0xFF
;
...
@@ -77,7 +77,7 @@ void Can_Set_Buff_6EF(canlib_uint8_t CopyData[])
...
@@ -77,7 +77,7 @@ void Can_Set_Buff_6EF(canlib_uint8_t CopyData[])
p6EF
->
Msg
[
i
]
=
0xFFu
;
p6EF
->
Msg
[
i
]
=
0xFFu
;
}
}
}
}
p6EF
->
Sig
.
Espeed_TX
=
Espeed_tx
;
//
p6EF -> Sig.Espeed_TX = Espeed_tx;
p6EF
->
Sig
.
TripA_H
=
(
TripA_tx
>>
8
)
&
0xFF
;
p6EF
->
Sig
.
TripA_H
=
(
TripA_tx
>>
8
)
&
0xFF
;
p6EF
->
Sig
.
TripA_L
=
TripA_tx
&
0xFF
;
p6EF
->
Sig
.
TripA_L
=
TripA_tx
&
0xFF
;
//p6EF -> Sig.Coolant_TX = GET_DataCoolantTempValueDisp() + 40;
//p6EF -> Sig.Coolant_TX = GET_DataCoolantTempValueDisp() + 40;
...
...
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