Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
IVECO_NS216
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
时昊
IVECO_NS216
Commits
5d857d29
Commit
5d857d29
authored
Dec 26, 2024
by
高士达
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'shihao' into 'develop'
🐞
fix: 修复首次上电未采集燃油阻值导致触发DTC See merge request
!36
parents
9260ecd5
45365ad7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
14 deletions
+26
-14
FuelConfig.c
source/Appliciation/FuelConfig.c
+26
-14
No files found.
source/Appliciation/FuelConfig.c
View file @
5d857d29
...
...
@@ -347,6 +347,12 @@ void AvgFuel_ConsOf100msUL_Set(uint16_t FuelCons)
uint8_t
GET_Fuel_Sensor_Resistance_High
(
void
)
{
if
(
Common_GetIgnOnTime
(
)
<=
SELF_CHECK_TIME
)
{
return
0
;
}
else
{
if
(
GetFuelResistance
()
>
5150
)
{
MinFuelData
.
Fuel_Sensor_Resistance_High
=
1
;
...
...
@@ -355,13 +361,18 @@ uint8_t GET_Fuel_Sensor_Resistance_High(void)
{
MinFuelData
.
Fuel_Sensor_Resistance_High
=
0
;
}
}
return
MinFuelData
.
Fuel_Sensor_Resistance_High
;
}
uint8_t
GET_Fuel_Sensor_Resistance_Low
(
void
)
{
if
(
Common_GetIgnOnTime
(
)
<=
SELF_CHECK_TIME
)
{
return
0
;
}
else
{
if
(
GetFuelResistance
()
<=
30
)
{
MinFuelData
.
Fuel_Sensor_Resistance_Low
=
1
;
...
...
@@ -370,6 +381,7 @@ uint8_t GET_Fuel_Sensor_Resistance_Low(void)
{
MinFuelData
.
Fuel_Sensor_Resistance_Low
=
0
;
}
}
return
MinFuelData
.
Fuel_Sensor_Resistance_Low
;
}
...
...
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