Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
VC66_7C
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
ISUZU
VC66_7C
Commits
50993e08
Commit
50993e08
authored
Feb 06, 2023
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改水温上升一个BUG
parent
68bcac1a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
Data_CoolantTemperature.c
...ion/APP/Data_CoolantTemperature/Data_CoolantTemperature.c
+10
-9
No files found.
source/Application/APP/Data_CoolantTemperature/Data_CoolantTemperature.c
View file @
50993e08
...
...
@@ -83,9 +83,9 @@ void Coolant_Processing_Service(void)
if
(
CanStatus
==
CAN_SIG_LOST
)
{
CoolantVariable
.
Valid
=
0
;
CoolantVariable
.
Valid
=
0
u
;
CoolantVariable
.
Value
=
0u
;
Timer2s
=
0
;
Timer2s
=
0
u
;
}
else
{
...
...
@@ -94,6 +94,7 @@ void Coolant_Processing_Service(void)
if
(
Msg_CoolTemp
>
0xFAu
)
{
CoolantVariable
.
Valid
=
0u
;
CoolantVariable
.
Value
=
0u
;
TargetSeg
=
0u
;
}
else
...
...
@@ -115,17 +116,17 @@ void Coolant_Processing_Service(void)
TempCurSeg
=
CalCoolant_CurSeg
(
CoolantVariable
.
Valid
,
CoolantVariable
.
Value
);
if
(
(
GetGaugesDirec
(
TempGauges
)
==
1
)
&&
(
TempCurSeg
==
DestPostion
[
TempGauges
]
/
10
)
(
GetGaugesDirec
(
TempGauges
)
==
1
u
)
&&
(
TempCurSeg
==
DestPostion
[
TempGauges
]
/
10
u
)
)
{
if
(
DestPostionOld
!=
DestPostion
[
TempGauges
]
/
10
)
if
(
DestPostionOld
!=
DestPostion
[
TempGauges
]
/
10
u
)
{
DestPostionOld
=
DestPostion
[
TempGauges
]
/
10
;
TempCurSegTime
=
0
;
DestPostionOld
=
DestPostion
[
TempGauges
]
/
10
u
;
TempCurSegTime
=
0
u
;
}
if
(
TempCurSegTime
<
200
)
if
(
TempCurSegTime
<
200
u
)
{
TempCurSegTime
++
;
}
...
...
@@ -136,7 +137,7 @@ void Coolant_Processing_Service(void)
}
else
{
TempCurSegTime
=
0
;
TempCurSegTime
=
0
u
;
CoolantVariable
.
CurSeg
=
TempCurSeg
;
}
}
...
...
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